Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 109.1 kB / 16.42 MB, free: 6.48 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.001325/0.001325, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.301/2.301, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.238e-05, allocations: 2.5 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002351/0.002382, allocations: 1.531 MB / 1.056 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003472, allocations: 0.5422 MB / 1.057 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.003537, allocations: 0 / 1.057 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.428e-05/0.003627, allocations: 3.938 kB / 1.057 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.865e-05/0.003731, allocations: 35.72 kB / 1.057 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007312/0.004484, allocations: 305.9 kB / 1.057 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000529/0.00502, allocations: 0.5112 MB / 1.057 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.005071, allocations: 11.98 kB / 1.057 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.005464, allocations: 271.6 kB / 1.058 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.005756, allocations: 153.1 kB / 1.058 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.857e-05/0.005861, allocations: 24 kB / 1.058 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.005952, allocations: 28 kB / 1.058 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002146/0.006172, allocations: 266.2 kB / 1.058 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.967e-05/0.006228, allocations: 90.62 kB / 1.058 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.006289, allocations: 35.94 kB / 1.058 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.537e-05/0.006319, allocations: 4 kB / 1.058 GB, free: 3.977 MB / 0.8262 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