Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.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.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.001698/0.001698, allocations: 106.5 kB / 16.42 MB, free: 6.012 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.001704/0.001704, allocations: 185.8 kB / 17.35 MB, free: 5.574 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.109/1.109, allocations: 222.9 MB / 241 MB, free: 15.1 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.041/2.041, allocations: 437 MB / 0.7111 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.542e-05, allocations: 2.281 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00188/0.001903, allocations: 1.529 MB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002916, allocations: 0.5398 MB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.002976, allocations: 0 / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.906e-05/0.003063, allocations: 15.88 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.003155, allocations: 27.78 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.003909, allocations: 312 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.004445, allocations: 0.5111 MB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.004495, allocations: 12 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.004886, allocations: 275.6 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.005155, allocations: 141.1 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.005264, allocations: 28 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.005356, allocations: 28 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.000205/0.005567, allocations: 270.2 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 4.745e-05/0.00562, allocations: 94.56 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.005679, allocations: 35.94 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.724e-05/0.005701, allocations: 0 / 1.023 GB, free: 5.688 MB / 0.795 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