It looks to be a new dress. At least, I haven't seen it before. Maybe, someone more "qualified" about Sofia's outfits could explain further when and where she wore the outfit before, if in fact she did.
More pics of from the afternoon when the Royal Family received the members of the Spanish Commission that represented Spain in Singapore for the Olympics 2012.