Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 285.4 MB / 298 MB, free: 5.996 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.001119/0.001119, allocations: 176.8 kB / 366.4 MB, free: 2.105 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.767/1.767, allocations: 205.1 MB / 0.6248 GB, free: 7.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008617/0.0008614, allocations: 87.86 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.415e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6465/0.6466, allocations: 115.3 MB / 0.9709 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.8179, allocations: 138.5 MB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.8181, allocations: 68.95 kB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/0.8418, allocations: 8.622 MB / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8419, allocations: 0 / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.8419, allocations: 5.406 kB / 1.115 GB, free: 4.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001141/0.843, allocations: 0.6015 MB / 1.115 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.8431, allocations: 8.031 kB / 1.115 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.8432, allocations: 35.7 kB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.8434, allocations: 187.6 kB / 1.115 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.8437, allocations: 267.8 kB / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.8437, allocations: 30.38 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.8442, allocations: 233.8 kB / 1.116 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.8442, allocations: 15.89 kB / 1.116 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.8443, allocations: 7.953 kB / 1.116 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.8443, allocations: 11.94 kB / 1.116 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.8446, allocations: 140 kB / 1.116 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.8459, allocations: 0.8026 MB / 1.117 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.8464, allocations: 182.7 kB / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.8466, allocations: 123.8 kB / 1.117 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.8466, allocations: 16.17 kB / 1.117 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.8471, allocations: 287.9 kB / 1.118 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.244e-06/0.8471, allocations: 3.938 kB / 1.118 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0006305/0.8477, allocations: 326.9 kB / 1.118 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.8478, allocations: 118.8 kB / 1.118 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.848, allocations: 162.5 kB / 1.118 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.848, allocations: 41.7 kB / 1.118 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.8481, allocations: 113.3 kB / 1.118 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.8483, allocations: 146 kB / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.8483, allocations: 16 kB / 1.118 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8484, allocations: 346.8 kB / 1.119 GB, free: 188 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.8487, allocations: 125.6 kB / 1.119 GB, free: 64 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.849, allocations: 234.2 kB / 1.119 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.8492, allocations: 147.7 kB / 1.119 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8492, allocations: 4 kB / 1.119 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000696/0.8499, allocations: 447 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.85, allocations: 8 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.85, allocations: 5.781 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.85, allocations: 4.094 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.8504, allocations: 106 kB / 1.12 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.8504, allocations: 11.94 kB / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.8507, allocations: 67.66 kB / 1.12 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.8508, allocations: 20 kB / 1.12 GB, free: 15 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.8509, allocations: 147 kB / 1.12 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.851, allocations: 31.62 kB / 1.12 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.851, allocations: 29.66 kB / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.851, allocations: 8 kB / 1.12 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8511, allocations: 0 / 1.12 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.8511, allocations: 7.984 kB / 1.12 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.8514, allocations: 361.1 kB / 1.12 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8514, allocations: 0 / 1.12 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.8519, allocations: 75.89 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.8519, allocations: 4 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.8519, allocations: 12 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.8519, allocations: 4 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.8519, allocations: 4 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.8528, allocations: 0.5572 MB / 1.121 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.8529, allocations: 104.8 kB / 1.121 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.853, allocations: 13.55 kB / 1.121 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.8532, allocations: 43.97 kB / 1.121 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.8533, allocations: 39.94 kB / 1.121 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.8534, allocations: 16 kB / 1.121 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.155e-05/0.8535, allocations: 125.2 kB / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8535, allocations: 0 / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003424/0.8538, allocations: 87.94 kB / 1.121 GB, free: 13.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002056/0.854, allocations: 119.8 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005868/0.8546, allocations: 354.5 kB / 1.122 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8547, allocations: 0 / 1.122 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.8549, allocations: 159.9 kB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.8552, allocations: 39.42 kB / 1.122 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.8562, allocations: 0.5081 MB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8565, allocations: 0.7686 MB / 1.123 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.8567, allocations: 42.95 kB / 1.123 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.8568, allocations: 38.23 kB / 1.123 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.8568, allocations: 0 / 1.123 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.00679/0.8636, allocations: 3.038 MB / 1.126 GB, free: 8.223 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)