Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001112/0.001112, allocations: 104.3 kB / 16.42 MB, free: 6.512 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.00108/0.00108, allocations: 188.3 kB / 17.36 MB, free: 5.73 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001858, allocations: 298.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8217/0.8217, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.799e-05, allocations: 2.281 kB / 0.682 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002101/0.002127, allocations: 1.488 MB / 0.6835 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.002918, allocations: 438.5 kB / 0.6839 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.002974, allocations: 0 / 0.6839 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.181e-05/0.003061, allocations: 11.86 kB / 0.6839 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.00315, allocations: 16.25 kB / 0.6839 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.003714, allocations: 250.4 kB / 0.6841 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.004034, allocations: 339.5 kB / 0.6845 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.004081, allocations: 7.984 kB / 0.6845 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.004308, allocations: 203.6 kB / 0.6847 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.004484, allocations: 120.9 kB / 0.6848 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.00456, allocations: 20 kB / 0.6848 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.004625, allocations: 20 kB / 0.6848 GB, free: 4.199 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002008/0.00483, allocations: 226.3 kB / 0.685 GB, free: 3.977 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 4.356e-05/0.00488, allocations: 94.61 kB / 0.6851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.004922, allocations: 23.94 kB / 0.6851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.468e-05/0.004941, allocations: 4 kB / 0.6851 GB, free: 3.855 MB / 494.1 MB 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