They are not affiliated, and are in quite different stages.
Hubstaff currently nets some $40k MRR (you can see their live metrics here [0], pretty cool), whereas Hubspot has $115 million dollars in annualized revenue [1].
[0] https://hubstaff.baremetrics.com/ [1] http://marketingland.com/hubspot-2014-earnings-report-revenu...