Wouldn't the gap simply be the result of loss of tension after the weld broke? Metal expands in the heat (about 1cm per degree C per km). Weather shows it got down to around 0C in Córdoba last night while the summer record is around 47C so one would expect a fairly large gap once tension is released.
As I understand it breather switches are used rarely in high speed rail systems. The ride on Spanish high speed trains is very smooth. At 300km/h (5km per minute) you’d notice going over a breather switch. It’d be like taking Amtrak’s Acela.
The gap looks about 50cm which is maybe 1.5km of contraction from installation tension.
I disagree. Though I've never ridden Acela, I did Intercity Express at 330kph. Since I've been rail fannig in my youth, I still look out for rail-related stuff. Even if it's 'only infrastructure'. Meaning I notice that stuff in pictures in reports about building/opening new HSR track. No matter where. Seems like they are mandatory. You just don't notice them, even when looking out of the window onto the other track, because it's all just a blur. Need to be on an overpass, and looking down onto where they are, for instance, or from the side, during construction or maintenance, watching how the machines operate, and wondering about what they are doing there. Because it's an interruption :-)
Your pictures show breather switches installed at a tunnel portal where they are necessary to handle the large differences in temperature and on what looks like various bridges which can be subject to their own thermal expansion. But at least as I understand it there's normally no need for them on continuously welded rail otherwise.