Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001029/0.001029, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.13/1.13, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.235/2.235, allocations: 472.6 MB / 0.7459 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.015e-05, allocations: 2.281 kB / 1.07 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002043/0.002062, allocations: 1.738 MB / 1.072 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003113, allocations: 0.6246 MB / 1.072 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.003167, allocations: 0 / 1.072 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.587e-05/0.003249, allocations: 11.86 kB / 1.072 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.003359, allocations: 35.78 kB / 1.072 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.003991, allocations: 358.8 kB / 1.073 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.004527, allocations: 0.6477 MB / 1.073 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.004617, allocations: 33.09 kB / 1.073 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.004935, allocations: 319.5 kB / 1.074 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.005159, allocations: 159.6 kB / 1.074 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-05/0.005261, allocations: 43.94 kB / 1.074 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.898e-05/0.005355, allocations: 40 kB / 1.074 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002293/0.005589, allocations: 317.7 kB / 1.074 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.641e-05/0.005652, allocations: 130 kB / 1.074 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.005712, allocations: 39.94 kB / 1.074 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.351e-05/0.005731, allocations: 7.938 kB / 1.074 GB, free: 5.137 MB / 0.8419 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