Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.CalendarTimeMonthsMinus,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.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_11_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.001088/0.001088, allocations: 112.7 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.001063/0.001063, allocations: 185.5 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.154/1.154, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.192/2.192, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.726e-05, allocations: 6.219 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00216/0.002185, allocations: 1.736 MB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003319, allocations: 0.6285 MB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.003392, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.104e-05/0.003478, allocations: 11.86 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.003585, allocations: 27.8 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007085/0.004305, allocations: 362.6 kB / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.004866, allocations: 0.6087 MB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.004969, allocations: 29.11 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.005327, allocations: 311.5 kB / 1.07 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.005577, allocations: 158.2 kB / 1.07 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.765e-05/0.005683, allocations: 48 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.005776, allocations: 40 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002506/0.006031, allocations: 325.6 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 6.877e-05/0.006106, allocations: 126.1 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.006165, allocations: 39.88 kB / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.3e-05/0.006193, allocations: 7.938 kB / 1.07 GB, free: 9.031 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