Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 109.4 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008359/0.000836, allocations: 192.3 kB / 17.36 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.212/2.212, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.13e-05, allocations: 2.281 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002052/0.002071, allocations: 1.744 MB / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003133, allocations: 0.6284 MB / 1.057 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.003191, allocations: 4 kB / 1.057 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.74e-05/0.003273, allocations: 7.875 kB / 1.057 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.003387, allocations: 31.78 kB / 1.057 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.004011, allocations: 369.8 kB / 1.057 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.004549, allocations: 0.6438 MB / 1.058 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.004641, allocations: 37.09 kB / 1.058 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.004968, allocations: 315.5 kB / 1.058 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.005196, allocations: 157.1 kB / 1.059 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.005291, allocations: 40 kB / 1.059 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.059e-05/0.005386, allocations: 40 kB / 1.059 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002227/0.005614, allocations: 325.6 kB / 1.059 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.257e-05/0.005683, allocations: 130.2 kB / 1.059 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.005735, allocations: 39.94 kB / 1.059 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.411e-05/0.005755, allocations: 4 kB / 1.059 GB, free: 3.195 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(calTim.calTim.firstHourSampling) then calTim.calTim.hour = integer(floor((calTim.calTim.unixTimeStampLocal - div(calTim.calTim.unixTimeStampLocal, 86400.0) * 86400.0) / 3600.0)); elseif true then calTim.calTim.hour = if pre(calTim.calTim.hour) == 23 then 0 else pre(calTim.calTim.hour) + 1; end if