EC 7174 then EC 7155 at Barcelona
Berlin → Barcelona → Milan
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
18:40EC 7155 to Milan leaves the gate
19 h 35 apart on the timetable, overnight
EC 7155 leaves 19 h 35 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.