Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.021/5.021, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002481/0.002481, allocations: 358.1 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.483/4.483, allocations: 410.7 MB / 1.112 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001788/0.001788, allocations: 188.2 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004915, allocations: 12 kB / 1.348 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6219/0.6224, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.005864/0.6283, allocations: 5.213 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005165/0.6335, allocations: 2.661 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.6351, allocations: 43.75 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005804/0.6357, allocations: 154.3 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.6369, allocations: 215.7 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.6396, allocations: 0.7839 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.6409, allocations: 0.8065 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006969/0.6416, allocations: 494.2 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.6419, allocations: 215.4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.6422, allocations: 264 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.6424, allocations: 20 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.6426, allocations: 105.7 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.6428, allocations: 115.3 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.6429, allocations: 141.3 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000728/0.6437, allocations: 0.7735 MB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.137e-06/0.6437, allocations: 5.625 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.283e-06/0.6437, allocations: 0 / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.6437, allocations: 0 / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001706/0.6454, allocations: 1.001 MB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6455, allocations: 15.62 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.6457, allocations: 90.88 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.6464, allocations: 0.503 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.6465, allocations: 49.31 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6466, allocations: 72.77 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.6479, allocations: 0.6116 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6479, allocations: 0 / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.648, allocations: 28 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.648, allocations: 14.53 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6491, allocations: 466.2 kB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.6529, allocations: 2.346 MB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.6552, allocations: 0.9521 MB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.6559, allocations: 245.8 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.6559, allocations: 4.375 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/0.6566, allocations: 276.4 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=51): time 4.385e-06/0.6566, allocations: 0 / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51): time 0.00157/0.6582, allocations: 0.6277 MB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.6582, allocations: 111.2 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/0.6589, allocations: 0.5107 MB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.612e-05/0.659, allocations: 46.91 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.6593, allocations: 360.2 kB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6595, allocations: 161.7 kB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.6595, allocations: 13.34 kB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6596, allocations: 370.8 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.6602, allocations: 207.2 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.6609, allocations: 399.3 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.6615, allocations: 274.7 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.6615, allocations: 4 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001582/0.6631, allocations: 0.69 MB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.6632, allocations: 238.6 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.6633, allocations: 13.62 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.6633, allocations: 8 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.6638, allocations: 113.8 kB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6638, allocations: 8 kB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/0.6645, allocations: 130.6 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.6646, allocations: 29.14 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.759e-06/0.6647, allocations: 4 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/0.6658, allocations: 0.5613 MB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.6659, allocations: 8 kB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6659, allocations: 9.75 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.6663, allocations: 91.83 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.6664, allocations: 11.94 kB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.667, allocations: 115.8 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.6671, allocations: 31.98 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003999/0.6675, allocations: 281.2 kB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.6676, allocations: 67.19 kB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.6678, allocations: 68.36 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.48e-06/0.6678, allocations: 4 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.786e-06/0.6678, allocations: 4 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-06/0.6678, allocations: 1.156 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.67, allocations: 1.2 MB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.294e-06/0.67, allocations: 0 / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.6706, allocations: 83.89 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.6706, allocations: 0 / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.6706, allocations: 11.98 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.6707, allocations: 4 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6707, allocations: 2.469 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.6723, allocations: 0.797 MB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.6725, allocations: 148.2 kB / 1.486 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/0.6726, allocations: 12 kB / 1.486 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.673, allocations: 38.44 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6731, allocations: 35.14 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.6731, allocations: 19.98 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004702/0.6736, allocations: 350.8 kB / 1.487 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.15e-07/0.6736, allocations: 0 / 1.487 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001054/0.6747, allocations: 275 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/0.675, allocations: 157.7 kB / 1.487 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.677, allocations: 0.9692 MB / 1.488 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.705e-06/0.677, allocations: 0 / 1.488 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005179/0.6775, allocations: 224.7 kB / 1.488 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/0.6785, allocations: 111.1 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.6807, allocations: 1.329 MB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.6811, allocations: 0.9317 MB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005133/0.6816, allocations: 81.12 kB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.6818, allocations: 47.42 kB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of SimCode: time 1.917e-06/0.6818, allocations: 0 / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of Templates: time 0.01717/0.699, allocations: 7.029 MB / 1.498 GB, free: 246.2 MB / 0.8542 GB