Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 110.5 kB / 16.42 MB, free: 6.477 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.001079/0.001079, allocations: 183.2 kB / 17.35 MB, free: 5.703 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.144/1.144, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.231/2.231, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.624e-05, allocations: 4.25 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001929/0.001953, allocations: 1.522 MB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002994, allocations: 0.5408 MB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.003044, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.549e-05/0.003126, allocations: 11.88 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.087e-05/0.003223, allocations: 31.78 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.003852, allocations: 308.8 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.00428, allocations: 495.5 kB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.004321, allocations: 4 kB / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.004621, allocations: 279.5 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.00484, allocations: 143.6 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.004932, allocations: 28 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.005014, allocations: 24 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002219/0.00524, allocations: 270.2 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.525e-05/0.005291, allocations: 90.62 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.005342, allocations: 35.94 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.677e-05/0.005363, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(calTim.firstHourSampling) then calTim.hour = integer(floor((calTim.unixTimeStampLocal - div(calTim.unixTimeStampLocal, 86400.0) * 86400.0) / 3600.0)); elseif true then calTim.hour = if pre(calTim.hour) == 23 then 0 else pre(calTim.hour) + 1; end if