Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.DemandResponse.Examples.ClientLBNL90.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.DemandResponse.Examples.ClientLBNL90,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ene.u|clientAverage.PPre|clientWeather.PPre|relErrAverage.y|relErrWeather.y",fileNamePrefix="Buildings_10_Buildings.Controls.DemandResponse.Examples.ClientLBNL90") translateModel(Buildings.Controls.DemandResponse.Examples.ClientLBNL90,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ene.u|clientAverage.PPre|clientWeather.PPre|relErrAverage.y|relErrWeather.y",fileNamePrefix="Buildings_10_Buildings.Controls.DemandResponse.Examples.ClientLBNL90") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 109.5 kB / 16.42 MB, free: 6.527 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.001238/0.001238, allocations: 185.9 kB / 17.35 MB, free: 5.75 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.425/2.425, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.078e-05, allocations: 6.219 kB / 1.019 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.DemandResponse.Examples.ClientLBNL90): time 0.006436/0.006475, allocations: 3.28 MB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005685/0.01219, allocations: 2.964 MB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000799/0.01301, allocations: 11.88 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.01382, allocations: 194.7 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.01441, allocations: 186.8 kB / 1.026 GB, free: 2.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.01679, allocations: 0.7869 MB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.01852, allocations: 1.51 MB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.01904, allocations: 337.1 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.01965, allocations: 0.5144 MB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.02021, allocations: 398.4 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.02034, allocations: 100 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006701/0.02102, allocations: 351.6 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0008393/0.02187, allocations: 1.113 MB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0003769/0.02226, allocations: 0.6429 MB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.02247, allocations: 163.6 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0001741/0.02265, allocations: 31.69 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(dayType.skipIDayIncrement) then dayType.iDay = pre(dayType.iDay); elseif true then dayType.iDay = mod(pre(dayType.iDay), 7) + 1; end if