Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001398/0.001399, allocations: 189 kB / 377.1 MB, free: 1.523 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.939/1.939, allocations: 205.4 MB / 0.6367 GB, free: 9.559 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.0009289/0.000929, allocations: 93.41 kB / 0.751 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 12 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3083, allocations: 116.3 MB / 0.9884 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8009/1.109, allocations: 139.6 MB / 1.125 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.11, allocations: 74.34 kB / 1.125 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02185/1.131, allocations: 8.652 MB / 1.133 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.595e-06/1.132, allocations: 0 / 1.133 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.14e-05/1.132, allocations: 8 kB / 1.133 GB, free: 28.86 MB / 0.7292 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.001607/1.133, allocations: 0.6254 MB / 1.134 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.133, allocations: 8.781 kB / 1.134 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/1.133, allocations: 29.58 kB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/1.134, allocations: 199.2 kB / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/1.134, allocations: 262.3 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/1.134, allocations: 33.36 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/1.135, allocations: 260.9 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.135, allocations: 8.562 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/1.135, allocations: 12.61 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.135, allocations: 8.938 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/1.135, allocations: 189.2 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/1.137, allocations: 0.8004 MB / 1.136 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/1.137, allocations: 217 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/1.137, allocations: 5.453 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/1.138, allocations: 313.9 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 2.425e-06/1.138, allocations: 0 / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001038/1.139, allocations: 0.4939 MB / 1.137 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/1.139, allocations: 117 kB / 1.137 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.139, allocations: 156 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/1.139, allocations: 38.27 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/1.139, allocations: 118.5 kB / 1.137 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.139, allocations: 150.6 kB / 1.137 GB, free: 25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/1.139, allocations: 12 kB / 1.137 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.14, allocations: 341.6 kB / 1.137 GB, free: 24.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/1.14, allocations: 157.4 kB / 1.138 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/1.14, allocations: 252.7 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/1.141, allocations: 174.8 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.141, allocations: 3.938 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008223/1.141, allocations: 497.2 kB / 1.138 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.141, allocations: 8 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.141, allocations: 4 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.141, allocations: 4.797 kB / 1.139 GB, free: 23.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/1.142, allocations: 97.09 kB / 1.139 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/1.142, allocations: 9.359 kB / 1.139 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/1.142, allocations: 76.08 kB / 1.139 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/1.142, allocations: 21.8 kB / 1.139 GB, free: 23.46 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 () * 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.0001662/1.142, allocations: 165.3 kB / 1.139 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/1.143, allocations: 24.52 kB / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.463e-05/1.143, allocations: 35.94 kB / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.143, allocations: 8 kB / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.143, allocations: 0 / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.143, allocations: 3.562 kB / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/1.143, allocations: 355.9 kB / 1.139 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.143, allocations: 0 / 1.139 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/1.143, allocations: 80.81 kB / 1.139 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.143, allocations: 4 kB / 1.139 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/1.144, allocations: 14.48 kB / 1.139 GB, free: 22.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.144, allocations: 4 kB / 1.139 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.144, allocations: 9.047 kB / 1.139 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/1.145, allocations: 0.6146 MB / 1.14 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/1.145, allocations: 102 kB / 1.14 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/1.145, allocations: 9.359 kB / 1.14 GB, free: 22.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/1.145, allocations: 51.34 kB / 1.14 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.145, allocations: 41.95 kB / 1.14 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/1.145, allocations: 18.7 kB / 1.14 GB, free: 22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.664e-05/1.145, allocations: 130.2 kB / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.145, allocations: 4 kB / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000356/1.146, allocations: 82.34 kB / 1.14 GB, free: 21.8 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 () * 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.0002137/1.146, allocations: 127.3 kB / 1.141 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007836/1.147, allocations: 393.7 kB / 1.141 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.147, allocations: 0 / 1.141 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/1.147, allocations: 190.8 kB / 1.141 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/1.147, allocations: 37.73 kB / 1.141 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/1.149, allocations: 0.7013 MB / 1.142 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/1.149, allocations: 0.7727 MB / 1.143 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001938/1.149, allocations: 36.47 kB / 1.143 GB, free: 19.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/1.149, allocations: 37.41 kB / 1.143 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/1.149, allocations: 4 kB / 1.143 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.008112/1.157, allocations: 3.015 MB / 1.146 GB, free: 17.95 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)