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.795/1.795, allocations: 288.3 MB / 303.2 MB, free: 8.172 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.001142/0.001142, allocations: 177 kB / 371.8 MB, free: 10.26 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.789/1.789, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000839/0.000839, allocations: 98.84 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004493, allocations: 13.66 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2967, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8511/1.148, allocations: 138.6 MB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.148, allocations: 68.86 kB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02246/1.171, allocations: 8.648 MB / 1.123 GB, free: 31.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/1.171, allocations: 7.969 kB / 1.123 GB, free: 31.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.171, allocations: 3.875 kB / 1.123 GB, free: 31.52 MB / 0.698 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.001164/1.172, allocations: 0.6166 MB / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.172, allocations: 15.61 kB / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/1.172, allocations: 27.25 kB / 1.124 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.172, allocations: 201.5 kB / 1.124 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/1.173, allocations: 267 kB / 1.124 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/1.173, allocations: 22.47 kB / 1.124 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/1.173, allocations: 267.5 kB / 1.125 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.173, allocations: 7.891 kB / 1.125 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/1.173, allocations: 14.02 kB / 1.125 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.173, allocations: 3.781 kB / 1.125 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/1.174, allocations: 190.8 kB / 1.125 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/1.175, allocations: 0.8096 MB / 1.126 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/1.175, allocations: 206.1 kB / 1.126 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/1.175, allocations: 18.09 kB / 1.126 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/1.176, allocations: 300.3 kB / 1.126 GB, free: 29.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/1.176, allocations: 0 / 1.126 GB, free: 29.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00094/1.177, allocations: 0.4902 MB / 1.127 GB, free: 29.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/1.177, allocations: 135.9 kB / 1.127 GB, free: 29.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/1.177, allocations: 152 kB / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/1.177, allocations: 40.64 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/1.177, allocations: 113.3 kB / 1.127 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.177, allocations: 152.6 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/1.177, allocations: 13.53 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.177, allocations: 344.6 kB / 1.128 GB, free: 29.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/1.178, allocations: 156 kB / 1.128 GB, free: 29.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/1.178, allocations: 253.2 kB / 1.128 GB, free: 28.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/1.178, allocations: 166.4 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.178, allocations: 3.969 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007253/1.179, allocations: 0.4892 MB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.179, allocations: 7.656 kB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.179, allocations: 3.906 kB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.179, allocations: 3.812 kB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/1.18, allocations: 102.3 kB / 1.129 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.18, allocations: 3.844 kB / 1.129 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/1.18, allocations: 71.89 kB / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/1.18, allocations: 20.89 kB / 1.129 GB, free: 28.81 MB / 0.698 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.0001661/1.18, allocations: 171.6 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/1.18, allocations: 33.69 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/1.18, allocations: 30.56 kB / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.18, allocations: 3.812 kB / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.18, allocations: 6.406 kB / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.18, allocations: 2.344 kB / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/1.18, allocations: 355.8 kB / 1.129 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.181, allocations: 3.844 kB / 1.129 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/1.181, allocations: 80.36 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.181, allocations: 3.875 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/1.181, allocations: 13.19 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.181, allocations: 0 / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.181, allocations: 3.844 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/1.182, allocations: 0.6224 MB / 1.13 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/1.182, allocations: 103.5 kB / 1.13 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/1.182, allocations: 9.938 kB / 1.13 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/1.182, allocations: 42.8 kB / 1.13 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/1.182, allocations: 40.69 kB / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/1.182, allocations: 17.31 kB / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.409e-05/1.183, allocations: 124.5 kB / 1.13 GB, free: 28.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.183, allocations: 0 / 1.13 GB, free: 28.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003286/1.183, allocations: 89.03 kB / 1.13 GB, free: 28.08 MB / 0.698 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.0002094/1.183, allocations: 124.4 kB / 1.131 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006321/1.184, allocations: 394.9 kB / 1.131 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.184, allocations: 0 / 1.131 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/1.184, allocations: 192.8 kB / 1.131 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/1.184, allocations: 36.66 kB / 1.131 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/1.185, allocations: 0.7049 MB / 1.132 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/1.186, allocations: 0.7742 MB / 1.133 GB, free: 26.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001604/1.186, allocations: 38.33 kB / 1.133 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.186, allocations: 37.23 kB / 1.133 GB, free: 26.83 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/1.186, allocations: 0 / 1.133 GB, free: 26.83 MB / 0.698 GB Notification: Performance of Templates: time 0.005601/1.192, allocations: 3.037 MB / 1.136 GB, free: 25.59 MB / 0.698 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)