Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.58/1.58, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001021/0.001021, allocations: 180.8 kB / 366.7 MB, free: 1.684 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.703/1.703, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0009012/0.0009012, allocations: 82.95 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.242e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7473, allocations: 116.3 MB / 0.9733 GB, free: 76.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.954, allocations: 138.8 MB / 1.109 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.9543, allocations: 73.55 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02275/0.9771, allocations: 8.573 MB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9771, allocations: 0 / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.9772, allocations: 4 kB / 1.117 GB, free: 2.77 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.001265/0.9784, allocations: 0.5944 MB / 1.118 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9785, allocations: 12.03 kB / 1.118 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.9786, allocations: 27.72 kB / 1.118 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.9788, allocations: 199.6 kB / 1.118 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.9791, allocations: 251.8 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.9792, allocations: 16 kB / 1.118 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002921/0.9795, allocations: 139.7 kB / 1.118 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.9798, allocations: 216.1 kB / 1.119 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.9799, allocations: 7.859 kB / 1.119 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.9799, allocations: 8 kB / 1.119 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.9799, allocations: 7.984 kB / 1.119 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.9811, allocations: 0.7486 MB / 1.119 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.9815, allocations: 176.2 kB / 1.12 GB, free: 160 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.9816, allocations: 111.3 kB / 1.12 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.9817, allocations: 12.12 kB / 1.12 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.9822, allocations: 280.7 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.804e-06/0.9822, allocations: 0 / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0005676/0.9828, allocations: 299.8 kB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.9828, allocations: 114.8 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.983, allocations: 154.5 kB / 1.121 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.983, allocations: 29.7 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.9831, allocations: 117.3 kB / 1.121 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.9832, allocations: 138 kB / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.9833, allocations: 11.94 kB / 1.121 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9834, allocations: 334.8 kB / 1.121 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.9836, allocations: 121.5 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.9839, allocations: 220.5 kB / 1.121 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.9841, allocations: 126.7 kB / 1.122 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9841, allocations: 7.938 kB / 1.122 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005794/0.9847, allocations: 410.5 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9847, allocations: 4 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9847, allocations: 4 kB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.9847, allocations: 4 kB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.9851, allocations: 103.8 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9851, allocations: 4 kB / 1.122 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.9854, allocations: 55.66 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.9854, allocations: 25.39 kB / 1.122 GB, free: 13.41 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.0001287/0.9856, allocations: 123.1 kB / 1.122 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.9856, allocations: 35.58 kB / 1.122 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.9857, allocations: 29.95 kB / 1.122 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.9857, allocations: 4 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.9857, allocations: 1.062 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.9857, allocations: 4 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.9861, allocations: 305.8 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.9861, allocations: 0 / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.9865, allocations: 83.84 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.9865, allocations: 7.922 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.9866, allocations: 11.95 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.9866, allocations: 5.75 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9866, allocations: 0 / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.9874, allocations: 0.5272 MB / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.9874, allocations: 100.8 kB / 1.123 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.9875, allocations: 4 kB / 1.123 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.9877, allocations: 39.95 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.9878, allocations: 39.98 kB / 1.123 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.9878, allocations: 19.98 kB / 1.123 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.9879, allocations: 113.2 kB / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9879, allocations: 0 / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002976/0.9882, allocations: 64 kB / 1.124 GB, free: 11.82 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.0002249/0.9885, allocations: 119.2 kB / 1.124 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.989, allocations: 317.5 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.989, allocations: 4 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.9892, allocations: 155.7 kB / 1.124 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.9895, allocations: 39.33 kB / 1.124 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.9905, allocations: 486.5 kB / 1.125 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.9908, allocations: 0.7764 MB / 1.125 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.991, allocations: 39.27 kB / 1.126 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.9911, allocations: 27.44 kB / 1.126 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9911, allocations: 4 kB / 1.126 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of Templates: time 0.005733/0.9968, allocations: 2.837 MB / 1.128 GB, free: 7.059 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)