Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.674/1.674, allocations: 287.5 MB / 302.6 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 181.7 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009819/0.000982, allocations: 93.59 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 9.531 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1832, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5374/0.7206, allocations: 183.9 MB / 1.158 GB, free: 4.797 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.7346, allocations: 9.373 MB / 1.167 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.7364, allocations: 55.81 kB / 1.167 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.7394, allocations: 2.518 MB / 1.17 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.7438, allocations: 2.307 MB / 1.172 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.7466, allocations: 1.038 MB / 1.173 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004716/0.7514, allocations: 4.147 MB / 1.177 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.754, allocations: 1.815 MB / 1.179 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.7561, allocations: 1.394 MB / 1.18 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.7581, allocations: 1.98 MB / 1.182 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.7583, allocations: 65.91 kB / 1.182 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.7603, allocations: 0.8233 MB / 1.183 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006153/0.7609, allocations: 0.7759 MB / 1.184 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.7613, allocations: 495.8 kB / 1.184 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.7636, allocations: 2.681 MB / 1.187 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7636, allocations: 0 / 1.187 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7636, allocations: 0 / 1.187 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.7636, allocations: 4 kB / 1.187 GB, free: 1.664 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003687/0.7673, allocations: 2.793 MB / 1.19 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7674, allocations: 14.48 kB / 1.19 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.7687, allocations: 454.3 kB / 1.19 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.7706, allocations: 1.54 MB / 1.192 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.7708, allocations: 139.2 kB / 1.192 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.771, allocations: 128.8 kB / 1.192 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.7733, allocations: 1.515 MB / 1.193 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.7734, allocations: 3.938 kB / 1.193 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.7735, allocations: 53.77 kB / 1.193 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.7735, allocations: 44.92 kB / 1.194 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.7756, allocations: 1.257 MB / 1.195 GB, free: 12.47 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007327/0.7829, allocations: 6.433 MB / 1.201 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.7852, allocations: 1.356 MB / 1.202 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.7863, allocations: 0.6747 MB / 1.203 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003966/0.7867, allocations: 304.2 kB / 1.203 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.7879, allocations: 0.6688 MB / 1.204 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=112): time 3.186e-06/0.7879, allocations: 0 / 1.204 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=112): time 0.004881/0.7928, allocations: 2.402 MB / 1.206 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.7928, allocations: 68.39 kB / 1.206 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/0.7969, allocations: 4.011 MB / 1.21 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.014e-05/0.797, allocations: 53.7 kB / 1.21 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.7981, allocations: 1.279 MB / 1.212 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.7984, allocations: 370.8 kB / 1.212 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.7984, allocations: 24 kB / 1.212 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7986, allocations: 353.9 kB / 1.212 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.7994, allocations: 490.2 kB / 1.213 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.8004, allocations: 0.7222 MB / 1.213 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.8023, allocations: 1.237 MB / 1.215 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.8023, allocations: 0 / 1.215 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002727/0.8051, allocations: 1.719 MB / 1.216 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.8051, allocations: 8 kB / 1.216 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.8051, allocations: 4 kB / 1.216 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/0.8057, allocations: 229.9 kB / 1.217 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.8065, allocations: 235.6 kB / 1.217 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.8106, allocations: 4.234 MB / 1.221 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.8117, allocations: 180.2 kB / 1.221 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.8118, allocations: 48 kB / 1.221 GB, free: 2.297 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001113/0.8129, allocations: 0.8059 MB / 1.222 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.8132, allocations: 268.5 kB / 1.222 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.8162, allocations: 1.667 MB / 1.224 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.8162, allocations: 12 kB / 1.224 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8162, allocations: 0 / 1.224 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/0.8185, allocations: 1.44 MB / 1.225 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.824, allocations: 3.57 MB / 1.229 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.824, allocations: 4 kB / 1.229 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.8247, allocations: 175.9 kB / 1.229 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.8253, allocations: 202.3 kB / 1.229 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/0.8254, allocations: 39.91 kB / 1.229 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.8293, allocations: 4.197 MB / 1.233 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8293, allocations: 0 / 1.233 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/0.833, allocations: 2.386 MB / 1.236 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/0.8337, allocations: 453.3 kB / 1.236 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.8339, allocations: 24 kB / 1.236 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/0.8348, allocations: 110.7 kB / 1.236 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.835, allocations: 96.84 kB / 1.236 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/0.8351, allocations: 43.92 kB / 1.236 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003112/0.8383, allocations: 2.912 MB / 1.239 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8383, allocations: 4 kB / 1.239 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001411/0.8397, allocations: 0.5145 MB / 1.24 GB, free: 14.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.841, allocations: 0.6005 MB / 1.24 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.8435, allocations: 1.495 MB / 1.242 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8436, allocations: 0 / 1.242 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.845, allocations: 0.9286 MB / 1.243 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.848, allocations: 0.5505 MB / 1.243 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.8571, allocations: 6.406 MB / 1.249 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.859, allocations: 1.918 MB / 1.251 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001035/0.86, allocations: 310.7 kB / 1.252 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.8603, allocations: 111.4 kB / 1.252 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of SimCode: time 2.71e-07/0.8604, allocations: 0 / 1.252 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of Templates: time 0.04132/0.9017, allocations: 23.26 MB / 1.274 GB, free: 11.58 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)