Roddick had advanced to the final on Thursday after compatriot Andre Agassi retired from their match in the first set with an injured hip .