Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.00106/0.00106, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.151/1.151, allocations: 222.9 MB / 241 MB, free: 15.15 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.903/1.903, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.108e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001929/0.001948, allocations: 1.49 MB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.002972, allocations: 0.7206 MB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.003013, allocations: 7.938 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.00304, allocations: 3.938 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.003087, allocations: 11.88 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.003494, allocations: 123.6 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.003609, allocations: 79.7 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.003687, allocations: 19.98 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.003764, allocations: 27.92 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.003817, allocations: 31.83 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.00384, allocations: 11.94 kB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.003987, allocations: 95.84 kB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.31e-05/0.004078, allocations: 102.9 kB / 0.9541 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.635e-05/0.004109, allocations: 59.12 kB / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.004132, allocations: 11.94 kB / 0.9542 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.047e-06/0.004145, allocations: 0 / 0.9542 GB, free: 4.922 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then bli.pDown = 1.0 - exp(bli.A * (bli.TIn - 273.15) + bli.B) / (exp(bli.A * (bli.TIn - 273.15) + bli.B) + 1.0); if Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)) then bli.blindState = 0.0; elseif true then bli.blindState = 1.0; end if; elseif true then bli.pDown = 0.0; bli.blindState = 1.0; end if