Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.561/1.561, allocations: 297.8 MB / 313.7 MB, free: 116 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.0009594/0.0009596, allocations: 184.5 kB / 384.6 MB, free: 10.86 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.309/1.309, allocations: 223.2 MB / 0.6626 GB, free: 4.367 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.000724/0.0007242, allocations: 92.64 kB / 0.7808 GB, free: 43.54 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 16 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5297, allocations: 120.3 MB / 1.026 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.7123, allocations: 141.8 MB / 1.165 GB, free: 448 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.7126, allocations: 77.14 kB / 1.165 GB, free: 372 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02265/0.7353, allocations: 8.742 MB / 1.173 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7353, allocations: 0 / 1.173 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.7353, allocations: 4 kB / 1.173 GB, free: 7.699 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.001098/0.7364, allocations: 0.6145 MB / 1.174 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7365, allocations: 16.03 kB / 1.174 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.7366, allocations: 32.64 kB / 1.174 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.7367, allocations: 196.8 kB / 1.174 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.7369, allocations: 264.3 kB / 1.174 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.12e-05/0.737, allocations: 32.36 kB / 1.175 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.7375, allocations: 266.3 kB / 1.175 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.7375, allocations: 15.77 kB / 1.175 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.7375, allocations: 8.219 kB / 1.175 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.7376, allocations: 4 kB / 1.175 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.738, allocations: 187.8 kB / 1.175 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.7391, allocations: 0.7971 MB / 1.176 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.7395, allocations: 207.9 kB / 1.176 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.7398, allocations: 134.5 kB / 1.176 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.7398, allocations: 15.94 kB / 1.176 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.7403, allocations: 323.8 kB / 1.176 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.7404, allocations: 0 / 1.176 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0009349/0.7413, allocations: 0.4894 MB / 1.177 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.7414, allocations: 118.8 kB / 1.177 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7416, allocations: 172.6 kB / 1.177 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.7416, allocations: 41.7 kB / 1.177 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.7417, allocations: 121.3 kB / 1.177 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.7418, allocations: 145.9 kB / 1.177 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.7418, allocations: 16 kB / 1.177 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7419, allocations: 342.8 kB / 1.178 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.7422, allocations: 149.2 kB / 1.178 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.7426, allocations: 260.8 kB / 1.178 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.7432, allocations: 402 kB / 1.179 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7432, allocations: 0 / 1.179 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008023/0.744, allocations: 0.4897 MB / 1.179 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.744, allocations: 7.938 kB / 1.179 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.744, allocations: 4 kB / 1.179 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.7441, allocations: 4 kB / 1.179 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.7444, allocations: 107.8 kB / 1.179 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.7444, allocations: 7.984 kB / 1.179 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.7447, allocations: 67.72 kB / 1.179 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.7448, allocations: 24 kB / 1.179 GB, free: 1.27 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.0001561/0.7449, allocations: 160.4 kB / 1.179 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.745, allocations: 35.56 kB / 1.179 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.745, allocations: 33.86 kB / 1.179 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.745, allocations: 8 kB / 1.179 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.7451, allocations: 0 / 1.179 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.7451, allocations: 7.984 kB / 1.179 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.7454, allocations: 349.2 kB / 1.18 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7454, allocations: 0 / 1.18 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.7458, allocations: 75.83 kB / 1.18 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.7458, allocations: 7.938 kB / 1.18 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.7459, allocations: 19.92 kB / 1.18 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7459, allocations: 4 kB / 1.18 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7459, allocations: 0 / 1.18 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.7469, allocations: 0.5909 MB / 1.181 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.7469, allocations: 104.8 kB / 1.181 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.747, allocations: 15.92 kB / 1.181 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.7472, allocations: 43.97 kB / 1.181 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.7473, allocations: 63.89 kB / 1.181 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.7474, allocations: 16 kB / 1.181 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.575e-05/0.7474, allocations: 130 kB / 1.181 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7475, allocations: 0 / 1.181 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003049/0.7478, allocations: 80 kB / 1.181 GB, free: 15.45 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.0001836/0.748, allocations: 123.2 kB / 1.181 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006866/0.7486, allocations: 386.6 kB / 1.181 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7487, allocations: 4 kB / 1.181 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.749, allocations: 210.2 kB / 1.182 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.7493, allocations: 53.52 kB / 1.182 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.7504, allocations: 0.7106 MB / 1.182 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.7508, allocations: 0.7608 MB / 1.183 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.7509, allocations: 38.95 kB / 1.183 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.751, allocations: 35.44 kB / 1.183 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of SimCode: time 2.21e-07/0.751, allocations: 0 / 1.183 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.006249/0.7573, allocations: 3.295 MB / 1.186 GB, free: 9.836 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)