Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.513/2.513, allocations: 287.5 MB / 303.2 MB, free: 8.309 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.00128/0.001279, allocations: 172.1 kB / 371.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009781/0.0009777, allocations: 84.25 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009667/0.0009668, allocations: 13.22 kB / 0.8667 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.221, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9364/1.157, allocations: 138.4 MB / 1.115 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.158, allocations: 78.62 kB / 1.115 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03106/1.189, allocations: 6.945 MB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/1.189, allocations: 3.844 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.189, allocations: 3.656 kB / 1.121 GB, free: 31.27 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.001707/1.191, allocations: 0.6208 MB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.191, allocations: 11.62 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/1.191, allocations: 32.16 kB / 1.122 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/1.191, allocations: 206.5 kB / 1.122 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/1.191, allocations: 271.2 kB / 1.122 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/1.191, allocations: 26.5 kB / 1.122 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/1.192, allocations: 264.5 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/1.192, allocations: 7.844 kB / 1.123 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/1.192, allocations: 10.27 kB / 1.123 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.192, allocations: 3.812 kB / 1.123 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/1.193, allocations: 191 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/1.195, allocations: 0.7999 MB / 1.124 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/1.195, allocations: 212.2 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/1.196, allocations: 139.1 kB / 1.124 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/1.196, allocations: 11.8 kB / 1.124 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007906/1.197, allocations: 309 kB / 1.124 GB, free: 29.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.867e-06/1.197, allocations: 0 / 1.124 GB, free: 29.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001738/1.199, allocations: 0.4977 MB / 1.125 GB, free: 29.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.199, allocations: 121.5 kB / 1.125 GB, free: 29.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/1.199, allocations: 171.1 kB / 1.125 GB, free: 29.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.302e-05/1.199, allocations: 39.86 kB / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/1.199, allocations: 115.7 kB / 1.125 GB, free: 29.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/1.199, allocations: 146.7 kB / 1.125 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/1.199, allocations: 12.75 kB / 1.125 GB, free: 29.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.2, allocations: 347.6 kB / 1.126 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/1.2, allocations: 152.4 kB / 1.126 GB, free: 28.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/1.201, allocations: 261.4 kB / 1.126 GB, free: 28.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.202, allocations: 396.3 kB / 1.127 GB, free: 28.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.202, allocations: 0 / 1.127 GB, free: 28.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001451/1.203, allocations: 0.4926 MB / 1.127 GB, free: 28.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/1.203, allocations: 9.656 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.203, allocations: 3.875 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/1.203, allocations: 7.812 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/1.204, allocations: 97.94 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/1.204, allocations: 15.75 kB / 1.127 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/1.205, allocations: 67.3 kB / 1.127 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/1.205, allocations: 22.28 kB / 1.127 GB, free: 28.4 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.0002985/1.205, allocations: 172 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/1.205, allocations: 27.22 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/1.205, allocations: 32.23 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.205, allocations: 7.656 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.205, allocations: 0 / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.205, allocations: 6.938 kB / 1.127 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/1.206, allocations: 357.1 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.206, allocations: 0 / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/1.207, allocations: 80.28 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/1.207, allocations: 15.75 kB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/1.207, allocations: 12.64 kB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.207, allocations: 0 / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.207, allocations: 3.812 kB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.208, allocations: 0.5954 MB / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.209, allocations: 103.1 kB / 1.129 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/1.209, allocations: 15.19 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/1.209, allocations: 47.89 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.209, allocations: 32.94 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/1.209, allocations: 21.84 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001368/1.209, allocations: 125.8 kB / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.209, allocations: 4 kB / 1.129 GB, free: 27.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004846/1.21, allocations: 84.91 kB / 1.129 GB, free: 27.7 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.0002237/1.21, allocations: 118.1 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001139/1.211, allocations: 394.2 kB / 1.129 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.211, allocations: 3.938 kB / 1.129 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005586/1.212, allocations: 181.3 kB / 1.13 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/1.212, allocations: 54.34 kB / 1.13 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/1.214, allocations: 0.6987 MB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/1.214, allocations: 0.7612 MB / 1.131 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003073/1.215, allocations: 39.27 kB / 1.131 GB, free: 26.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.215, allocations: 33.81 kB / 1.131 GB, free: 26.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.001e-06/1.215, allocations: 0 / 1.131 GB, free: 26.46 MB / 0.698 GB Notification: Performance of Templates: time 0.009066/1.224, allocations: 3.039 MB / 1.134 GB, free: 26.27 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)