I've had it turn off several times, in similar situations like the others above (fog, heavy rain, and once in heavy snow).
But, I also found another interesting fact. I had the system turn off EVERY TIME in one specific garage! So every time I go to this place, I park in a very small and cramped garage with a very steep ramp. The electric door closes right in front of the front bumper.
When the car electrics turn on, they do some sort of calibration. If the car is too close to an obstacle (steep ramp or garage door) then the brake control system will report a failure.
Anyone care to do some tests, please let us know if this is true for your 500x as well.
PS:
I don't mind the system turning off in bad weather conditions, it is understandable. But I think the error message should be something different, currently it makes you think like there is something wrong with the car.
The first time it happened, I stopped the car at the side of the road, got out and checked to see if there was indeed damage to the car. The front bumper was an ice lolly (also known as popsicle in Americanish).