Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001003/0.001003, allocations: 111.2 kB / 16.42 MB, free: 6.504 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.001044/0.001044, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.156/1.156, 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 10.1.1-maint.10.0.x/package.mo): time 2.125/2.125, allocations: 437 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.057e-05, allocations: 2.281 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002101/0.002122, allocations: 1.753 MB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.003238, allocations: 0.6284 MB / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.003298, allocations: 4 kB / 1.022 GB, free: 7.012 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.494e-05/0.003378, allocations: 11.86 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003486, allocations: 31.8 kB / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.004142, allocations: 355.4 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.004698, allocations: 0.6555 MB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.004792, allocations: 25.11 kB / 1.023 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.005127, allocations: 319.5 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.005338, allocations: 156.8 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.005441, allocations: 44 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.005536, allocations: 44 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002545/0.005795, allocations: 321.6 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 6.479e-05/0.005866, allocations: 126.1 kB / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.00592, allocations: 39.94 kB / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-05/0.005941, allocations: 4 kB / 1.024 GB, free: 4.902 MB / 0.795 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