We had an experience at an HO club in Houston, TX area where we would see occurences of the rail buckling ("sun kinks") in the winter months and existing gaps would open up in the summer (opposite of what happens up north). The issue was not with the rails themselves growing and shrinking due to thermal expansion since the layout room temperature stayed relatively constant all year as the building was climate controlled. However, the reason for the changes in the layout were due to the moisture in the air actually impacting the wood benchwork growing and shrinking. Believe it or not, the relative humidity in the club building was actually lower in the hot humid Houston summer because the air conditioner ran so much and doors were kept closed so the A/C would condense the moisture out of the air and the humidity in the building was actually quite low. While the mild Houston winter weather months meant that the A/C was mostly off and doors to the building were frequently opened to let in fresh air and we only needed to run the furnace a just a few days during winter. Being that Houston is still quite humid in the winter due to its proximity to the Gulf Coast, the relative humidity in the room was actually quite high in the winter and the wood benchwork would expand and cause the rails to buckle "sun kink" in places. Leaving small 0.030" gaps every 3 straight sections of flex track pretty much alleviated this issue from reoccuring. The rail joints on the curves were soldered to keep smooth-flowing joints.
Usually the opposite happens up north since the furnace runs a lot in the cold winter months and keeps the humidity in the house very low, which causes the wood benchwork to shrink and gaps would open up. However, in the summer, the humidity goes up and the wood grows when the warmer weather months have the windows open and the furnace is off and then "sun kinks" would form.
People frequently associate these layout "sun kinks" to temperature, but in actuallity it has to do with moisture content in the layout room. Yes, metal rails can grow with temperature but moisture changes effecting the wood benchwork between the seasonal changes is the bigger culprit causing track issues more than for temperature swings impacting rail growth. Running a dehumidifier in the basement up north during the summer can definitely help control sun kinks in the layout room, which is commonly located in the basement which can get pretty humid being that it is below ground level.
Scott