Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.264/5.264, allocations: 0.5623 GB / 0.5775 GB, free: 3.41 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.002529/0.002529, allocations: 361.6 kB / 0.6446 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.067/4.067, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 187.7 kB / 1.226 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005526/0.0005528, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2144, allocations: 115.2 MB / 1.461 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9348/1.149, allocations: 143.2 MB / 1.601 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/1.15, allocations: 93.62 kB / 1.601 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09487/1.245, allocations: 23 MB / 1.624 GB, free: 11.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.245, allocations: 4 kB / 1.624 GB, free: 11.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001498/1.245, allocations: 43.98 kB / 1.624 GB, free: 11.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.006288/1.251, allocations: 1.859 MB / 1.626 GB, free: 9.254 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.251, allocations: 12.03 kB / 1.626 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007639/1.252, allocations: 201.6 kB / 1.626 GB, free: 9.043 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/1.255, allocations: 1.154 MB / 1.627 GB, free: 8.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.256, allocations: 112.4 kB / 1.627 GB, free: 8.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/1.256, allocations: 150.8 kB / 1.627 GB, free: 7.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/1.26, allocations: 1.408 MB / 1.629 GB, free: 6.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/1.26, allocations: 0 / 1.629 GB, free: 6.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/1.26, allocations: 61.88 kB / 1.629 GB, free: 6.895 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/1.26, allocations: 36 kB / 1.629 GB, free: 6.859 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/1.264, allocations: 1.109 MB / 1.63 GB, free: 6.105 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/1.275, allocations: 4.605 MB / 1.634 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/1.279, allocations: 0.9413 MB / 1.635 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.28, allocations: 444.3 kB / 1.636 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/1.28, allocations: 19.97 kB / 1.636 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/1.282, allocations: 0.5502 MB / 1.636 GB, free: 1.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 3.867e-06/1.282, allocations: 0 / 1.636 GB, free: 1.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.004473/1.286, allocations: 1.195 MB / 1.637 GB, free: 312 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/1.287, allocations: 254.8 kB / 1.638 GB, free: 4 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/1.289, allocations: 1.246 MB / 1.639 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/1.289, allocations: 64.19 kB / 1.639 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/1.29, allocations: 0.7535 MB / 1.64 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/1.291, allocations: 274 kB / 1.64 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.291, allocations: 25 kB / 1.64 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.291, allocations: 350.9 kB / 1.64 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.292, allocations: 424.8 kB / 1.641 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/1.294, allocations: 0.759 MB / 1.641 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.296, allocations: 494.9 kB / 1.642 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/1.296, allocations: 4 kB / 1.642 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004558/1.301, allocations: 1.312 MB / 1.643 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003367/1.301, allocations: 333.8 kB / 1.643 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/1.301, allocations: 12 kB / 1.643 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-05/1.301, allocations: 16 kB / 1.643 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/1.303, allocations: 231.4 kB / 1.644 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/1.303, allocations: 23.88 kB / 1.644 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.305, allocations: 229.3 kB / 1.644 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/1.305, allocations: 47.42 kB / 1.644 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.305, allocations: 4 kB / 1.644 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00402/1.309, allocations: 1.026 MB / 1.645 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/1.31, allocations: 12.06 kB / 1.645 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/1.31, allocations: 12 kB / 1.645 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/1.311, allocations: 206.1 kB / 1.645 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.247e-05/1.311, allocations: 23.91 kB / 1.645 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.313, allocations: 191.6 kB / 1.645 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.314, allocations: 47 kB / 1.645 GB, free: 9.594 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.001294/1.315, allocations: 436.8 kB / 1.646 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/1.315, allocations: 146.1 kB / 1.646 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/1.32, allocations: 0.9565 MB / 1.647 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/1.32, allocations: 12 kB / 1.647 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.32, allocations: 0 / 1.647 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.32, allocations: 3.984 kB / 1.647 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008393/1.328, allocations: 2.595 MB / 1.649 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.328, allocations: 4 kB / 1.649 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.33, allocations: 155.4 kB / 1.65 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/1.33, allocations: 11.94 kB / 1.65 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.33, allocations: 33.98 kB / 1.65 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.501e-05/1.33, allocations: 8 kB / 1.65 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.33, allocations: 4 kB / 1.65 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/1.337, allocations: 1.73 MB / 1.651 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/1.337, allocations: 232.1 kB / 1.652 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.338, allocations: 33.38 kB / 1.652 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.339, allocations: 90.12 kB / 1.652 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/1.34, allocations: 93.88 kB / 1.652 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.34, allocations: 39.09 kB / 1.652 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002349/1.342, allocations: 0.8147 MB / 1.653 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/1.342, allocations: 0 / 1.653 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003033/1.345, allocations: 485.8 kB / 1.653 GB, free: 3.461 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004517/1.346, allocations: 162.7 kB / 1.653 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00668/1.353, allocations: 1.65 MB / 1.655 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.353, allocations: 5.312 kB / 1.655 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.355, allocations: 437.8 kB / 1.655 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/1.358, allocations: 276.5 kB / 1.655 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008425/1.367, allocations: 2.841 MB / 1.658 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.368, allocations: 1.233 MB / 1.659 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002293/1.37, allocations: 215.2 kB / 1.66 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/1.371, allocations: 109.6 kB / 1.66 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/1.371, allocations: 0 / 1.66 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.04585/1.417, allocations: 13.32 MB / 1.673 GB, free: 144 kB / 0.7292 GB