Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 112.5 kB / 16.43 MB, free: 6.508 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.001056/0.001056, allocations: 185.9 kB / 17.36 MB, free: 5.754 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.137/1.137, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.88/1.88, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/9.458e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001932/0.001949, allocations: 1.491 MB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002972, allocations: 0.7245 MB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.003015, allocations: 0 / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.003043, allocations: 7.875 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.003091, allocations: 15.88 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.003511, allocations: 119.6 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.00363, allocations: 83.7 kB / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.003709, allocations: 11.98 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.003781, allocations: 27.92 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.003837, allocations: 35.84 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003858, allocations: 8 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.004016, allocations: 95.84 kB / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.201e-05/0.004106, allocations: 106.9 kB / 0.9541 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.608e-05/0.004138, allocations: 55.12 kB / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.004161, allocations: 11.94 kB / 0.9541 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.042e-05/0.004175, allocations: 4 kB / 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.TOut - 273.15) + bli.B) / (exp(bli.A * (bli.TOut - 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