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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 289.7 MB / 302.2 MB, free: 2.105 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.001223/0.001223, allocations: 184.2 kB / 371.6 MB, free: 3.395 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.948/1.948, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008131/0.000813, allocations: 89.3 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.115e-05, allocations: 11.98 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2818, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7584/1.04, allocations: 139.5 MB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.041, allocations: 74.77 kB / 1.116 GB, free: 44.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02095/1.061, allocations: 8.61 MB / 1.125 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.434e-06/1.062, allocations: 0 / 1.125 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.062, allocations: 4 kB / 1.125 GB, free: 39.29 MB / 0.7448 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.001155/1.063, allocations: 0.5966 MB / 1.125 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.063, allocations: 8.031 kB / 1.125 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/1.063, allocations: 45.7 kB / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/1.063, allocations: 193.1 kB / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/1.063, allocations: 270 kB / 1.126 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/1.063, allocations: 32.12 kB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/1.064, allocations: 234.6 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/1.064, allocations: 3.516 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/1.064, allocations: 11.7 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.064, allocations: 4 kB / 1.126 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/1.064, allocations: 146.8 kB / 1.126 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/1.065, allocations: 0.8023 MB / 1.127 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/1.066, allocations: 182.8 kB / 1.127 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/1.066, allocations: 120.1 kB / 1.127 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/1.066, allocations: 12.36 kB / 1.127 GB, free: 37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/1.066, allocations: 295.1 kB / 1.127 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/1.066, allocations: 0 / 1.127 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0005985/1.067, allocations: 336.5 kB / 1.128 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.067, allocations: 118.3 kB / 1.128 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/1.067, allocations: 157 kB / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/1.067, allocations: 40.14 kB / 1.128 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/1.067, allocations: 123.2 kB / 1.128 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/1.067, allocations: 146.6 kB / 1.128 GB, free: 36.06 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/1.067, allocations: 9.812 kB / 1.128 GB, free: 36.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.688e-05/1.067, allocations: 344.1 kB / 1.129 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.068, allocations: 132.9 kB / 1.129 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/1.068, allocations: 230.7 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/1.068, allocations: 143.3 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.068, allocations: 4 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006045/1.069, allocations: 458.4 kB / 1.13 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.069, allocations: 4 kB / 1.13 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.069, allocations: 4 kB / 1.13 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.069, allocations: 4 kB / 1.13 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/1.069, allocations: 101.5 kB / 1.13 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.069, allocations: 4.938 kB / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/1.07, allocations: 72.05 kB / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/1.07, allocations: 19.19 kB / 1.13 GB, free: 34.9 MB / 0.7448 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.0001071/1.07, allocations: 148.8 kB / 1.13 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/1.07, allocations: 31.62 kB / 1.13 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/1.07, allocations: 31.34 kB / 1.13 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.07, allocations: 4.938 kB / 1.13 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.07, allocations: 5.562 kB / 1.13 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.07, allocations: 3.375 kB / 1.13 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/1.07, allocations: 363.6 kB / 1.13 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.07, allocations: 0 / 1.13 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/1.071, allocations: 81.08 kB / 1.13 GB, free: 34.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.071, allocations: 96 / 1.13 GB, free: 34.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.071, allocations: 19.81 kB / 1.13 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.071, allocations: 0 / 1.13 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.071, allocations: 8.453 kB / 1.13 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/1.071, allocations: 0.5466 MB / 1.131 GB, free: 33.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/1.071, allocations: 100.9 kB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/1.071, allocations: 22.7 kB / 1.131 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/1.072, allocations: 42.5 kB / 1.131 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/1.072, allocations: 37.61 kB / 1.131 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.072, allocations: 19.47 kB / 1.131 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.728e-05/1.072, allocations: 131.4 kB / 1.131 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.072, allocations: 0 / 1.131 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003058/1.072, allocations: 83.27 kB / 1.131 GB, free: 33.58 MB / 0.7448 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.0001754/1.072, allocations: 123.7 kB / 1.131 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005391/1.073, allocations: 343.2 kB / 1.132 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.073, allocations: 0 / 1.132 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/1.073, allocations: 170.2 kB / 1.132 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/1.073, allocations: 31.81 kB / 1.132 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/1.074, allocations: 0.5079 MB / 1.132 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/1.074, allocations: 0.7706 MB / 1.133 GB, free: 31.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001622/1.075, allocations: 40.61 kB / 1.133 GB, free: 31.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/1.075, allocations: 31 kB / 1.133 GB, free: 31.87 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/1.075, allocations: 0 / 1.133 GB, free: 31.87 MB / 0.7448 GB Notification: Performance of Templates: time 0.005917/1.081, allocations: 3.044 MB / 1.136 GB, free: 30.16 MB / 0.7448 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)