Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.CalendarTimeMonthsPlus,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.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_11_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.0009133/0.0009134, allocations: 108.8 kB / 16.42 MB, free: 6.402 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.0008685/0.0008685, allocations: 185.3 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.112/1.112, allocations: 222.9 MB / 241 MB, free: 15.04 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.17/2.17, allocations: 469.8 MB / 0.7431 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.499e-05, allocations: 4.25 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00208/0.002103, allocations: 1.738 MB / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.003181, allocations: 0.6285 MB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.003234, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.458e-05/0.003315, allocations: 15.86 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.003417, allocations: 35.78 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.004059, allocations: 354.6 kB / 1.069 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.004563, allocations: 0.6126 MB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.004646, allocations: 29.05 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.004964, allocations: 311.6 kB / 1.07 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.005183, allocations: 166.1 kB / 1.07 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.005282, allocations: 40 kB / 1.07 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.005377, allocations: 44 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002472/0.005629, allocations: 321.7 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.741e-05/0.005694, allocations: 130.1 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.005744, allocations: 35.94 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.531e-05/0.005764, allocations: 7.938 kB / 1.07 GB, free: 9.059 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