Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_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_11_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.001145/0.001145, allocations: 111.9 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.001099/0.001099, allocations: 185.5 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.194/1.194, allocations: 222.9 MB / 241.1 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.271/2.271, allocations: 469.8 MB / 0.7432 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.824e-05, allocations: 2.5 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002064/0.002091, allocations: 1.499 MB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003214, allocations: 0.7323 MB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.003264, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.003296, allocations: 3.938 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.003353, allocations: 19.84 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.003801, allocations: 107.6 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.003936, allocations: 83.77 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.004027, allocations: 11.98 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.004111, allocations: 31.92 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.004166, allocations: 31.83 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.00419, allocations: 8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.004364, allocations: 91.84 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.619e-05/0.004459, allocations: 98.91 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.942e-05/0.004493, allocations: 63.06 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.004518, allocations: 8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.024e-05/0.004534, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 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