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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.805/1.805, allocations: 288.3 MB / 303.2 MB, free: 8.254 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.001067/0.001067, allocations: 191.4 kB / 371.8 MB, free: 10.27 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.717/1.717, 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.0009396/0.0009398, allocations: 90.61 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004367, allocations: 18.36 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2799, allocations: 115.3 MB / 0.9795 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9348/1.215, allocations: 138.6 MB / 1.115 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.215, allocations: 69.14 kB / 1.115 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0223/1.237, allocations: 8.658 MB / 1.123 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/1.237, allocations: 0 / 1.123 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.237, allocations: 7.656 kB / 1.123 GB, free: 31.34 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.001233/1.239, allocations: 0.6219 MB / 1.124 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.239, allocations: 11.66 kB / 1.124 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/1.239, allocations: 27.25 kB / 1.124 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.239, allocations: 193.2 kB / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/1.239, allocations: 265.1 kB / 1.124 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/1.239, allocations: 28.33 kB / 1.124 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/1.24, allocations: 261.8 kB / 1.125 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.24, allocations: 7.781 kB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/1.24, allocations: 9.641 kB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/1.24, allocations: 7.688 kB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/1.24, allocations: 187.9 kB / 1.125 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/1.242, allocations: 0.8042 MB / 1.126 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/1.242, allocations: 215.8 kB / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/1.242, allocations: 10.23 kB / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005209/1.243, allocations: 310.7 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/1.243, allocations: 0 / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009803/1.244, allocations: 0.4973 MB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/1.244, allocations: 124.6 kB / 1.127 GB, free: 29.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/1.244, allocations: 156.4 kB / 1.127 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/1.244, allocations: 40.28 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/1.244, allocations: 122.6 kB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.244, allocations: 148.2 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/1.244, allocations: 6.875 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.244, allocations: 346.2 kB / 1.128 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.245, allocations: 151.6 kB / 1.128 GB, free: 28.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/1.245, allocations: 250.8 kB / 1.128 GB, free: 28.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/1.245, allocations: 174 kB / 1.128 GB, free: 28.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.245, allocations: 0 / 1.128 GB, free: 28.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007963/1.246, allocations: 0.4898 MB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.246, allocations: 3.875 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.246, allocations: 3.906 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.246, allocations: 7.906 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/1.246, allocations: 99.72 kB / 1.129 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/1.246, allocations: 7.656 kB / 1.129 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/1.247, allocations: 72.56 kB / 1.129 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/1.247, allocations: 18.44 kB / 1.129 GB, free: 28.63 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.0001831/1.247, allocations: 172.5 kB / 1.129 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/1.247, allocations: 23.25 kB / 1.129 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/1.247, allocations: 36.03 kB / 1.129 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.247, allocations: 7.719 kB / 1.129 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.247, allocations: 64 / 1.129 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.247, allocations: 6.344 kB / 1.129 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/1.248, allocations: 364.9 kB / 1.129 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.248, allocations: 0 / 1.129 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/1.248, allocations: 75.16 kB / 1.129 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.248, allocations: 3.969 kB / 1.129 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/1.248, allocations: 13.5 kB / 1.129 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.248, allocations: 7.875 kB / 1.129 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.248, allocations: 0 / 1.129 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.249, allocations: 0.6167 MB / 1.13 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/1.249, allocations: 103.1 kB / 1.13 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/1.249, allocations: 10.62 kB / 1.13 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/1.25, allocations: 46.36 kB / 1.13 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.25, allocations: 39.48 kB / 1.13 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/1.25, allocations: 14.28 kB / 1.13 GB, free: 27.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.423e-05/1.25, allocations: 131.8 kB / 1.13 GB, free: 27.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.25, allocations: 4.188 kB / 1.13 GB, free: 27.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003368/1.25, allocations: 79.41 kB / 1.13 GB, free: 27.9 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.0002469/1.25, allocations: 130.5 kB / 1.131 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006844/1.251, allocations: 394.6 kB / 1.131 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.251, allocations: 0 / 1.131 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/1.251, allocations: 188.8 kB / 1.131 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/1.252, allocations: 35.27 kB / 1.131 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/1.253, allocations: 0.7062 MB / 1.132 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.253, allocations: 0.7691 MB / 1.133 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001691/1.253, allocations: 43.2 kB / 1.133 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.253, allocations: 37.16 kB / 1.133 GB, free: 26.65 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/1.253, allocations: 0 / 1.133 GB, free: 26.65 MB / 0.698 GB Notification: Performance of Templates: time 0.006204/1.26, allocations: 3.029 MB / 1.136 GB, free: 25.43 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)