Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.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/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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 112.3 kB / 16.43 MB, free: 6 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.00251/0.002509, allocations: 189.7 kB / 17.36 MB, free: 5.586 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.544/1.544, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 287.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.9987/0.9987, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.023e-05, allocations: 6.219 kB / 0.682 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002846/0.002885, allocations: 1.484 MB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003919, allocations: 424.1 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.003998, allocations: 0 / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.004109, allocations: 11.86 kB / 0.6839 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.004245, allocations: 20.23 kB / 0.6839 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.00497, allocations: 254.4 kB / 0.6841 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.005394, allocations: 343.5 kB / 0.6844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.005455, allocations: 4 kB / 0.6845 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.005765, allocations: 207.6 kB / 0.6847 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.00601, allocations: 113 kB / 0.6848 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.72e-05/0.006096, allocations: 20 kB / 0.6848 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.006174, allocations: 20 kB / 0.6848 GB, free: 4.219 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002355/0.006414, allocations: 230.3 kB / 0.685 GB, free: 3.992 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.572e-05/0.006478, allocations: 94.62 kB / 0.6851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.006538, allocations: 20 kB / 0.6851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.501e-05/0.006568, allocations: 11.88 kB / 0.6851 GB, free: 3.867 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