Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 293 MB / 309 MB, free: 4.793 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.0009591/0.0009591, allocations: 184.6 kB / 378.7 MB, free: 1.02 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.691/1.691, allocations: 205.4 MB / 0.6383 GB, free: 9.145 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.0007835/0.0007832, allocations: 96.36 kB / 0.7527 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 20 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2973, allocations: 116.4 MB / 0.9905 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7289/1.026, allocations: 139.7 MB / 1.127 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.027, allocations: 71.72 kB / 1.127 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02098/1.048, allocations: 8.703 MB / 1.135 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.474e-06/1.048, allocations: 0 / 1.135 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.048, allocations: 4.75 kB / 1.135 GB, free: 27.92 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.001058/1.049, allocations: 0.6209 MB / 1.136 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.049, allocations: 8.031 kB / 1.136 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/1.049, allocations: 29.36 kB / 1.136 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/1.049, allocations: 202.8 kB / 1.136 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/1.049, allocations: 264.5 kB / 1.137 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/1.049, allocations: 33.69 kB / 1.137 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/1.05, allocations: 262 kB / 1.137 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.05, allocations: 9.109 kB / 1.137 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/1.05, allocations: 13.5 kB / 1.137 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/1.05, allocations: 4 kB / 1.137 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/1.05, allocations: 189.2 kB / 1.137 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/1.052, allocations: 0.8072 MB / 1.138 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/1.053, allocations: 209.9 kB / 1.138 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/1.053, allocations: 141 kB / 1.138 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.985e-05/1.053, allocations: 9.297 kB / 1.138 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007039/1.054, allocations: 310.5 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 2.264e-06/1.054, allocations: 0 / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001121/1.055, allocations: 0.4975 MB / 1.139 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/1.055, allocations: 116.9 kB / 1.139 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/1.055, allocations: 172.6 kB / 1.139 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/1.055, allocations: 38.5 kB / 1.139 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/1.055, allocations: 122.2 kB / 1.139 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.055, allocations: 150.8 kB / 1.139 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/1.055, allocations: 8 kB / 1.139 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.056, allocations: 349.3 kB / 1.14 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/1.056, allocations: 152.5 kB / 1.14 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/1.056, allocations: 251.9 kB / 1.14 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/1.057, allocations: 402.7 kB / 1.141 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.057, allocations: 4.938 kB / 1.141 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008576/1.058, allocations: 495.8 kB / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.058, allocations: 11.94 kB / 1.141 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.058, allocations: 2.422 kB / 1.141 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/1.058, allocations: 12.7 kB / 1.141 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/1.058, allocations: 96.53 kB / 1.141 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.058, allocations: 5.172 kB / 1.141 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/1.059, allocations: 75.98 kB / 1.141 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/1.059, allocations: 16.75 kB / 1.141 GB, free: 22.12 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.0001816/1.059, allocations: 165.7 kB / 1.141 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/1.059, allocations: 33.33 kB / 1.141 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.825e-05/1.059, allocations: 31.47 kB / 1.141 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.059, allocations: 4.516 kB / 1.141 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.059, allocations: 4 kB / 1.142 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/1.059, allocations: 2.766 kB / 1.142 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/1.06, allocations: 356.9 kB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/1.06, allocations: 4.75 kB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/1.06, allocations: 79.23 kB / 1.142 GB, free: 21.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.06, allocations: 3.938 kB / 1.142 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/1.06, allocations: 10.25 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/1.06, allocations: 8.547 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.06, allocations: 0.8438 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/1.061, allocations: 0.6004 MB / 1.143 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/1.061, allocations: 101.9 kB / 1.143 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/1.061, allocations: 13.11 kB / 1.143 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/1.062, allocations: 42.97 kB / 1.143 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.062, allocations: 64.23 kB / 1.143 GB, free: 20.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/1.062, allocations: 15.33 kB / 1.143 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001027/1.062, allocations: 129.1 kB / 1.143 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.062, allocations: 0 / 1.143 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003329/1.062, allocations: 81.17 kB / 1.143 GB, free: 20.48 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.0002377/1.063, allocations: 120 kB / 1.143 GB, free: 20.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007951/1.063, allocations: 392.7 kB / 1.143 GB, free: 20.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.063, allocations: 4 kB / 1.143 GB, free: 20.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004015/1.064, allocations: 209.2 kB / 1.144 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/1.064, allocations: 44.56 kB / 1.144 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/1.066, allocations: 0.7131 MB / 1.144 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.066, allocations: 0.7633 MB / 1.145 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001925/1.066, allocations: 40.75 kB / 1.145 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/1.066, allocations: 29.41 kB / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/1.066, allocations: 1.031 kB / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.008182/1.074, allocations: 3.288 MB / 1.148 GB, free: 16.46 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)