Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 109.5 kB / 16.42 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.0008784/0.0008785, allocations: 185.5 kB / 17.35 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.147/1.147, 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 9.1.3-maint.9.1.x/package.mo): time 1.911/1.911, allocations: 390.2 MB / 0.6655 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.238e-05, allocations: 10.16 kB / 0.9514 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001981/0.002002, allocations: 1.497 MB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003083, allocations: 0.7478 MB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.003128, allocations: 8 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.003157, allocations: 7.922 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.003206, allocations: 11.86 kB / 0.9537 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.003633, allocations: 131.5 kB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.003761, allocations: 99.75 kB / 0.9539 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.003844, allocations: 12 kB / 0.9539 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.956e-05/0.003929, allocations: 51.77 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.00399, allocations: 43.84 kB / 0.954 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.004013, allocations: 8 kB / 0.954 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.004167, allocations: 95.89 kB / 0.9541 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.851e-05/0.004263, allocations: 118.7 kB / 0.9542 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.97e-05/0.004298, allocations: 70.88 kB / 0.9543 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.00433, allocations: 15.94 kB / 0.9543 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.163e-05/0.004346, allocations: 4 kB / 0.9543 GB, free: 4.844 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then if pre(bli.isOpen) == false then bli.pUp = 0.0; bli.pDown = exp(bli.ADown * bli.H + bli.BDown) / (exp(bli.ADown * bli.H + bli.BDown) + 1.0); bli.isOpen = Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)); elseif true then bli.pUp = exp(bli.AUp * bli.H + bli.BUp) / (exp(bli.AUp * bli.H + bli.BUp) + 1.0); bli.pDown = 0.0; bli.isOpen = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pUp, integer(bli.curSeed)); end if; elseif true then bli.pUp = 0.0; bli.pDown = 0.0; bli.isOpen = false; end if