Barcelona will face Real Madrid in an El Clasico final in Spain's Copa del Rey after 5-4 aggregate defeat of Atletico.