Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_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_11_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.001189/0.001189, allocations: 109.3 kB / 16.42 MB, free: 6.023 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.001239/0.001239, allocations: 190.6 kB / 17.36 MB, free: 5.613 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.188/1.188, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.29/2.29, allocations: 469.8 MB / 0.7431 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.647e-05, allocations: 2.281 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002014/0.002039, allocations: 1.491 MB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003109, allocations: 0.7284 MB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.003157, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.003192, allocations: 11.92 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.003249, allocations: 11.86 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.003685, allocations: 107.6 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003806, allocations: 83.75 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.00388, allocations: 7.984 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.003958, allocations: 39.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.004014, allocations: 35.91 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.004034, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.004192, allocations: 91.91 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.04e-05/0.004291, allocations: 102.9 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.816e-05/0.004324, allocations: 59.06 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.004349, allocations: 11.94 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.116e-05/0.004364, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 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