A commuter train on Madrid’s Cercanías network derailed, halting traffic on the C-8b line between the stations of Los Molinos and Cercedilla.