Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008853/0.0008854, allocations: 108.8 kB / 16.42 MB, free: 6.523 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.0008634/0.0008635, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.127/1.127, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.894/1.894, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.246e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.0021/0.00212, allocations: 1.632 MB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003279, allocations: 0.7985 MB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.00333, allocations: 0 / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.003364, allocations: 11.86 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.965e-05/0.003431, allocations: 23.8 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.003902, allocations: 159.5 kB / 0.954 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004075, allocations: 171.5 kB / 0.9542 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.004169, allocations: 21.06 kB / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.914e-05/0.004273, allocations: 67.81 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.004365, allocations: 79.72 kB / 0.9543 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.004394, allocations: 12 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.004552, allocations: 103.8 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001449/0.004704, allocations: 202 kB / 0.9546 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 5.42e-05/0.004764, allocations: 102.4 kB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.004793, allocations: 19.94 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.237e-05/0.00481, allocations: 4 kB / 0.9547 GB, free: 4.328 MB / 0.7325 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