Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001106/0.001106, allocations: 111.4 kB / 16.42 MB, free: 6.422 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.001062/0.001062, allocations: 187.8 kB / 17.36 MB, free: 5.676 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.121/1.121, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.188/2.188, allocations: 469.8 MB / 0.7432 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.046e-05, allocations: 4.25 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002019/0.002038, allocations: 1.738 MB / 1.068 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.003115, allocations: 0.6207 MB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.003175, allocations: 7.938 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.59e-05/0.003258, allocations: 15.86 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.003366, allocations: 35.78 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.003988, allocations: 362.5 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.004487, allocations: 0.6087 MB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.004567, allocations: 21.12 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.004884, allocations: 323.5 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.005088, allocations: 154 kB / 1.07 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.005184, allocations: 47.94 kB / 1.07 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.005273, allocations: 40 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002432/0.005521, allocations: 321.6 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.69e-05/0.005584, allocations: 126.1 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.005636, allocations: 39.94 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.548e-05/0.005663, allocations: 11.94 kB / 1.07 GB, free: 9.102 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