Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 293 MB / 309 MB, free: 4.828 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.0009809/0.0009809, allocations: 181.8 kB / 378.7 MB, free: 1.031 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.671/1.671, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0008407/0.0008405, allocations: 93.8 kB / 0.7527 GB, free: 62.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003962, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 116.4 MB / 0.9905 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7502/1.012, allocations: 139.7 MB / 1.127 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.012, allocations: 71.3 kB / 1.127 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02049/1.033, allocations: 8.694 MB / 1.135 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/1.033, allocations: 0 / 1.135 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.033, allocations: 12 kB / 1.135 GB, free: 27.9 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.001027/1.034, allocations: 0.6167 MB / 1.136 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.034, allocations: 8.031 kB / 1.136 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/1.034, allocations: 33.86 kB / 1.136 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/1.034, allocations: 199.2 kB / 1.136 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/1.034, allocations: 268.6 kB / 1.137 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/1.035, allocations: 29.97 kB / 1.137 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/1.035, allocations: 261.3 kB / 1.137 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/1.035, allocations: 13.06 kB / 1.137 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/1.035, allocations: 8.797 kB / 1.137 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.035, allocations: 8 kB / 1.137 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/1.036, allocations: 185.8 kB / 1.137 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/1.037, allocations: 0.8076 MB / 1.138 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/1.037, allocations: 214.3 kB / 1.138 GB, free: 25.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/1.037, allocations: 132.5 kB / 1.138 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/1.037, allocations: 13.39 kB / 1.138 GB, free: 25.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005189/1.038, allocations: 306.5 kB / 1.138 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.954e-06/1.038, allocations: 0 / 1.138 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.000941/1.039, allocations: 0.5026 MB / 1.139 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/1.039, allocations: 116.1 kB / 1.139 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/1.039, allocations: 172 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/1.039, allocations: 38.41 kB / 1.139 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/1.039, allocations: 118.5 kB / 1.139 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/1.039, allocations: 155.4 kB / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/1.039, allocations: 12 kB / 1.139 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/1.039, allocations: 340.6 kB / 1.14 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/1.04, allocations: 153.1 kB / 1.14 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/1.04, allocations: 256.2 kB / 1.14 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/1.041, allocations: 401 kB / 1.141 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.041, allocations: 0 / 1.141 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000735/1.041, allocations: 0.4944 MB / 1.141 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.041, allocations: 12.83 kB / 1.141 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.041, allocations: 5.328 kB / 1.141 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.041, allocations: 8 kB / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/1.042, allocations: 96.95 kB / 1.141 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.042, allocations: 8.562 kB / 1.141 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/1.042, allocations: 72.41 kB / 1.141 GB, free: 22.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.042, allocations: 21.36 kB / 1.141 GB, free: 22.09 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.0001421/1.042, allocations: 161.5 kB / 1.141 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/1.042, allocations: 28.45 kB / 1.141 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/1.042, allocations: 31.52 kB / 1.142 GB, free: 21.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.042, allocations: 8.703 kB / 1.142 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.042, allocations: 0 / 1.142 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.042, allocations: 3.75 kB / 1.142 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/1.043, allocations: 356.3 kB / 1.142 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.043, allocations: 4.656 kB / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/1.043, allocations: 78.86 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.043, allocations: 8.5 kB / 1.142 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/1.043, allocations: 14.19 kB / 1.142 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.043, allocations: 0.6094 kB / 1.142 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.043, allocations: 4 kB / 1.142 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/1.044, allocations: 0.5949 MB / 1.143 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/1.044, allocations: 101.6 kB / 1.143 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/1.044, allocations: 14.44 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/1.045, allocations: 45.8 kB / 1.143 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.045, allocations: 62.73 kB / 1.143 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/1.045, allocations: 10.25 kB / 1.143 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.991e-05/1.045, allocations: 131.2 kB / 1.143 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/1.045, allocations: 0 / 1.143 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003006/1.045, allocations: 80.66 kB / 1.143 GB, free: 20.46 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.0001781/1.045, allocations: 125.4 kB / 1.143 GB, free: 20.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006813/1.046, allocations: 390.1 kB / 1.143 GB, free: 19.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.046, allocations: 0 / 1.143 GB, free: 19.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/1.046, allocations: 212.9 kB / 1.144 GB, free: 19.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/1.047, allocations: 48.36 kB / 1.144 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.048, allocations: 0.715 MB / 1.144 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/1.048, allocations: 0.763 MB / 1.145 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001804/1.048, allocations: 37.12 kB / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/1.048, allocations: 32.8 kB / 1.145 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of SimCode: time 4e-07/1.048, allocations: 1.031 kB / 1.145 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.007312/1.056, allocations: 3.298 MB / 1.148 GB, free: 16.43 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)