Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.573/1.573, allocations: 297.8 MB / 313.7 MB, free: 60 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009586/0.0009585, allocations: 175.8 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007508/0.0007506, allocations: 98.55 kB / 0.7808 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 16 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5498, allocations: 120.3 MB / 1.026 GB, free: 56.9 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.7223, allocations: 141.8 MB / 1.165 GB, free: 476 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.7225, allocations: 69.47 kB / 1.165 GB, free: 408 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.7455, allocations: 8.74 MB / 1.173 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7455, allocations: 0 / 1.173 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.7455, allocations: 8 kB / 1.173 GB, free: 7.73 MB / 0.7448 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.001084/0.7466, allocations: 0.6223 MB / 1.174 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.7467, allocations: 8.031 kB / 1.174 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.7468, allocations: 36.59 kB / 1.174 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.7469, allocations: 188.9 kB / 1.174 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.7471, allocations: 268.3 kB / 1.174 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.7472, allocations: 36.3 kB / 1.175 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.7477, allocations: 262.3 kB / 1.175 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7477, allocations: 7.844 kB / 1.175 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.7477, allocations: 8.219 kB / 1.175 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7477, allocations: 4 kB / 1.175 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.7482, allocations: 195.8 kB / 1.175 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.7493, allocations: 0.7972 MB / 1.176 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.7498, allocations: 207.9 kB / 1.176 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.75, allocations: 134.5 kB / 1.176 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.7501, allocations: 23.91 kB / 1.176 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005042/0.7506, allocations: 311.8 kB / 1.176 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.743e-06/0.7506, allocations: 0 / 1.176 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0009849/0.7516, allocations: 0.4886 MB / 1.177 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.7517, allocations: 122.7 kB / 1.177 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.7518, allocations: 173.4 kB / 1.177 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.7519, allocations: 41.7 kB / 1.177 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.7519, allocations: 125.3 kB / 1.177 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.7521, allocations: 142 kB / 1.177 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.7521, allocations: 16 kB / 1.177 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7522, allocations: 338.8 kB / 1.178 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.7525, allocations: 149.2 kB / 1.178 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.7529, allocations: 260.8 kB / 1.178 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.7535, allocations: 402 kB / 1.179 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7535, allocations: 4 kB / 1.179 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008294/0.7544, allocations: 489.5 kB / 1.179 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7544, allocations: 14.28 kB / 1.179 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.7544, allocations: 4.078 kB / 1.179 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.7544, allocations: 4 kB / 1.179 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.7548, allocations: 107.8 kB / 1.179 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.7548, allocations: 15.97 kB / 1.179 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.7551, allocations: 67.66 kB / 1.179 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.7551, allocations: 24.03 kB / 1.179 GB, free: 1.301 MB / 0.7448 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 () * Number of clocked 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.0001538/0.7553, allocations: 163.9 kB / 1.179 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.7554, allocations: 35.55 kB / 1.179 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.7554, allocations: 29.88 kB / 1.179 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.7554, allocations: 11.94 kB / 1.179 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.7554, allocations: 0 / 1.179 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7555, allocations: 3.984 kB / 1.179 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.7558, allocations: 353.2 kB / 1.18 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7558, allocations: 8.062 kB / 1.18 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.7562, allocations: 71.91 kB / 1.18 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.7562, allocations: 3.938 kB / 1.18 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.7562, allocations: 19.98 kB / 1.18 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7562, allocations: 0 / 1.18 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7562, allocations: 4 kB / 1.18 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.7572, allocations: 0.5966 MB / 1.181 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.7573, allocations: 104.8 kB / 1.181 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.7574, allocations: 15.92 kB / 1.181 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.7576, allocations: 39.97 kB / 1.181 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.7577, allocations: 59.86 kB / 1.181 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.7577, allocations: 19.98 kB / 1.181 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.759e-05/0.7578, allocations: 125.2 kB / 1.181 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7578, allocations: 0 / 1.181 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003079/0.7582, allocations: 80 kB / 1.181 GB, free: 15.48 MB / 0.7605 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 () * Number of clocked 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.000165/0.7583, allocations: 125 kB / 1.181 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006894/0.759, allocations: 390.6 kB / 1.181 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.759, allocations: 0 / 1.181 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.7594, allocations: 207.8 kB / 1.182 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.7597, allocations: 57.78 kB / 1.182 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.7608, allocations: 0.7042 MB / 1.182 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.7611, allocations: 0.7649 MB / 1.183 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.7613, allocations: 42.94 kB / 1.183 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.545e-05/0.7614, allocations: 31.44 kB / 1.183 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of SimCode: time 6.91e-07/0.7614, allocations: 192 / 1.183 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of Templates: time 0.006609/0.7681, allocations: 3.303 MB / 1.186 GB, free: 9.863 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)