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 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.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.001072/0.001072, allocations: 113.1 kB / 16.43 MB, free: 6.523 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.00105/0.00105, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.112/1.112, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.222/2.222, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.762e-05, allocations: 6.219 kB / 1.07 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00217/0.002196, allocations: 1.738 MB / 1.072 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.00332, allocations: 0.6245 MB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.003394, allocations: 4 kB / 1.072 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.799e-05/0.003477, allocations: 11.88 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003588, allocations: 35.78 kB / 1.072 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.004339, allocations: 362.2 kB / 1.073 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.004913, allocations: 0.6438 MB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.005009, allocations: 37.09 kB / 1.073 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.005372, allocations: 315.5 kB / 1.074 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.00561, allocations: 159.6 kB / 1.074 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.005716, allocations: 40 kB / 1.074 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.00581, allocations: 47.94 kB / 1.074 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002421/0.006057, allocations: 321.7 kB / 1.074 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.848e-05/0.006122, allocations: 134.1 kB / 1.074 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.006183, allocations: 39.94 kB / 1.074 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.319e-05/0.006211, allocations: 7.938 kB / 1.074 GB, free: 5.141 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