Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.709/2.709, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 180.9 kB / 365.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001341/0.00134, allocations: 99.44 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.279e-05, allocations: 8 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7955, allocations: 115.2 MB / 0.97 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.262/1.058, allocations: 138.4 MB / 1.105 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.058, allocations: 71.95 kB / 1.105 GB, free: 14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04912/1.107, allocations: 8.62 MB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.913e-06/1.107, allocations: 0 / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.107, allocations: 4 kB / 1.114 GB, free: 5.43 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.006384/1.113, allocations: 0.6011 MB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/1.114, allocations: 8.031 kB / 1.114 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/1.114, allocations: 31.7 kB / 1.114 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/1.114, allocations: 203.5 kB / 1.114 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/1.114, allocations: 267.8 kB / 1.115 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.114, allocations: 24 kB / 1.115 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/1.115, allocations: 237.8 kB / 1.115 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/1.115, allocations: 9.219 kB / 1.115 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/1.116, allocations: 11.98 kB / 1.115 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.116, allocations: 4 kB / 1.115 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/1.116, allocations: 144.1 kB / 1.115 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/1.119, allocations: 0.8075 MB / 1.116 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/1.119, allocations: 184.3 kB / 1.116 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/1.12, allocations: 115.3 kB / 1.116 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-05/1.12, allocations: 20.16 kB / 1.116 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008877/1.121, allocations: 288.7 kB / 1.116 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 4.429e-06/1.121, allocations: 4.156 kB / 1.116 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.009277/1.13, allocations: 328.4 kB / 1.117 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.13, allocations: 118.8 kB / 1.117 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/1.131, allocations: 154.6 kB / 1.117 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/1.131, allocations: 45.69 kB / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/1.131, allocations: 113.3 kB / 1.117 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.131, allocations: 146 kB / 1.117 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/1.131, allocations: 16 kB / 1.117 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.131, allocations: 346.8 kB / 1.118 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/1.132, allocations: 125.6 kB / 1.118 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/1.133, allocations: 230.1 kB / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004834/1.138, allocations: 158.2 kB / 1.118 GB, free: 408 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.138, allocations: 0 / 1.118 GB, free: 408 kB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001615/1.139, allocations: 445.8 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/1.139, allocations: 8 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.139, allocations: 0 / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/1.139, allocations: 8 kB / 1.119 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.14, allocations: 103.8 kB / 1.119 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/1.14, allocations: 11.94 kB / 1.119 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/1.145, allocations: 67.66 kB / 1.119 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.351e-05/1.145, allocations: 20 kB / 1.119 GB, free: 15.74 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.0002607/1.145, allocations: 149.1 kB / 1.119 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.145, allocations: 31.61 kB / 1.119 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/1.146, allocations: 33.66 kB / 1.119 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.146, allocations: 4 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.146, allocations: 2 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.146, allocations: 3.984 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/1.146, allocations: 361 kB / 1.119 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.146, allocations: 7.984 kB / 1.119 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/1.148, allocations: 71.91 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.148, allocations: 8 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/1.148, allocations: 15.98 kB / 1.119 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/1.148, allocations: 4 kB / 1.119 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.148, allocations: 0.9375 kB / 1.119 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006241/1.154, allocations: 0.5583 MB / 1.12 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.154, allocations: 104.8 kB / 1.12 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.154, allocations: 11.98 kB / 1.12 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/1.155, allocations: 35.97 kB / 1.12 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.155, allocations: 52.02 kB / 1.12 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/1.155, allocations: 19.64 kB / 1.12 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001774/1.155, allocations: 125.2 kB / 1.12 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.61e-07/1.155, allocations: 0.6562 kB / 1.12 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007676/1.156, allocations: 83.98 kB / 1.12 GB, free: 13.98 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.0003033/1.157, allocations: 119.3 kB / 1.121 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004715/1.161, allocations: 352 kB / 1.121 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.161, allocations: 0 / 1.121 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/1.162, allocations: 159.9 kB / 1.121 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/1.163, allocations: 31.27 kB / 1.121 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/1.165, allocations: 0.509 MB / 1.122 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/1.166, allocations: 0.7764 MB / 1.122 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004582/1.166, allocations: 30.97 kB / 1.122 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/1.167, allocations: 43.42 kB / 1.122 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of SimCode: time 1.823e-06/1.167, allocations: 0 / 1.122 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.01462/1.181, allocations: 3.031 MB / 1.125 GB, free: 8.98 MB / 0.7292 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)