Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 108.9 kB / 16.42 MB, free: 6.406 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.001091/0.001091, allocations: 189.9 kB / 17.36 MB, free: 5.711 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.125/1.125, 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 11.0.1-master/package.mo): time 2.165/2.165, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.038e-05, allocations: 9.25 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002085/0.002113, allocations: 1.744 MB / 1.056 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003209, allocations: 0.6245 MB / 1.057 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.003275, allocations: 0 / 1.057 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.152e-05/0.003363, allocations: 11.86 kB / 1.057 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.003469, allocations: 35.78 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.004135, allocations: 358 kB / 1.057 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.004684, allocations: 0.6516 MB / 1.058 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.004782, allocations: 41.02 kB / 1.058 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.00513, allocations: 311.6 kB / 1.058 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.005365, allocations: 157.2 kB / 1.059 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.005467, allocations: 40 kB / 1.059 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.00556, allocations: 40 kB / 1.059 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002276/0.005794, allocations: 325.6 kB / 1.059 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.797e-05/0.005857, allocations: 126.2 kB / 1.059 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.005915, allocations: 39.94 kB / 1.059 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.054e-05/0.00594, allocations: 4 kB / 1.059 GB, free: 3.188 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