Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 114.6 kB / 16.42 MB, free: 6.418 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.001148/0.001148, allocations: 182.1 kB / 17.35 MB, free: 5.676 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.176/1.176, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.287/2.287, allocations: 469.8 MB / 0.7432 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.63e-05, allocations: 3.906 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002074/0.002099, allocations: 1.624 MB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003275, allocations: 0.8024 MB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.003325, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.003363, allocations: 7.875 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.003428, allocations: 27.72 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.003922, allocations: 159.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.004097, allocations: 167.5 kB / 1.069 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.004185, allocations: 9.125 kB / 1.069 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.004287, allocations: 67.81 kB / 1.069 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.00438, allocations: 83.7 kB / 1.069 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.004412, allocations: 12 kB / 1.069 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.004588, allocations: 111.8 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001363/0.004732, allocations: 190 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.156e-05/0.004789, allocations: 106.4 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.004818, allocations: 15.94 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.259e-05/0.004835, allocations: 4 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then if win.TIn > (win.TComf + 2.0) then if not pre(win.on) then win.p = exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) / (exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = -0.3; win.on = true; end if; elseif win.TIn < (win.TComf - 2.0) then if pre(win.on) then win.p = exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) / (exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = -0.5; win.on = false; end if; elseif true then win.p = -0.1; win.on = pre(win.on); end if; elseif true then win.p = 0.0; win.on = false; end if