Flibert, that's a pretty tough question to ask. Madrid's metro funding does not come from the EU (except part of the Airport line). Madrid's government created a company that sold land (although not housing land). Right now there are concerns about it because the EU wants Madrid government to count all that money spent as debt, and thus Madrid would have more debt than the EU comission recomends.
However, you should know that building metro in Madrid is fairly easy. I've taken part in quite a few projects of new metro lines, and the Madrid metro expansion is right now model in the world. We have a pretty good soil that helps a lot, and also using many huge tunneling boring machines, high safety standards and a long experience has helped us build metro TEN TIMES cheaper than in London, for example. The Jubilee line, about 8 km long, took almost ten years to be completed. We've done more than 140 km in 8 years.