Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001095/0.001095, allocations: 111.7 kB / 16.43 MB, free: 6.496 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.001066/0.001066, allocations: 183.8 kB / 17.35 MB, free: 5.754 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.143/1.143, 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.184/2.184, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.311e-05, allocations: 6.219 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002119/0.002141, allocations: 1.736 MB / 1.056 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003302, allocations: 0.6323 MB / 1.057 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.003387, allocations: 4 kB / 1.057 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.365e-05/0.003476, allocations: 11.81 kB / 1.057 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.003584, allocations: 27.84 kB / 1.057 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.004331, allocations: 367.8 kB / 1.057 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006194/0.004958, allocations: 0.6438 MB / 1.058 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.005062, allocations: 33.09 kB / 1.058 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.005462, allocations: 315.6 kB / 1.058 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.005731, allocations: 157.2 kB / 1.058 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.005852, allocations: 44 kB / 1.059 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.005941, allocations: 40 kB / 1.059 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002392/0.006185, allocations: 329.6 kB / 1.059 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.439e-05/0.006255, allocations: 122.2 kB / 1.059 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.006318, allocations: 39.94 kB / 1.059 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.534e-05/0.006348, allocations: 7.938 kB / 1.059 GB, free: 3.258 MB / 0.8262 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