Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009419/0.0009423, allocations: 188.2 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007642/0.0007642, allocations: 83.12 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003719, allocations: 17 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1734, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.3237, allocations: 132.5 MB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.324, allocations: 71.95 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02259/0.3466, allocations: 8.839 MB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3467, allocations: 0 / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.3467, allocations: 4.219 kB / 1.039 GB, free: 2.027 MB / 0.6823 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.001235/0.3479, allocations: 0.6223 MB / 1.04 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.348, allocations: 12.03 kB / 1.04 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.3481, allocations: 32.56 kB / 1.04 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3483, allocations: 192.9 kB / 1.04 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.3485, allocations: 264.3 kB / 1.04 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.3486, allocations: 36.28 kB / 1.04 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.3491, allocations: 266.3 kB / 1.041 GB, free: 468 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3491, allocations: 7.875 kB / 1.041 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.3491, allocations: 12 kB / 1.041 GB, free: 448 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3491, allocations: 4 kB / 1.041 GB, free: 444 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.3495, allocations: 183.9 kB / 1.041 GB, free: 260 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3507, allocations: 0.8009 MB / 1.042 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.3512, allocations: 211.7 kB / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.3515, allocations: 134.5 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.3515, allocations: 11.98 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005142/0.352, allocations: 315.6 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.352, allocations: 4 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009451/0.353, allocations: 0.4924 MB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.3531, allocations: 118.8 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3532, allocations: 175.5 kB / 1.043 GB, free: 13.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3533, allocations: 41.69 kB / 1.043 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3533, allocations: 121.2 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3535, allocations: 146 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.3535, allocations: 12 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3536, allocations: 342.8 kB / 1.044 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.3539, allocations: 153.2 kB / 1.044 GB, free: 13.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.3543, allocations: 257.6 kB / 1.044 GB, free: 12.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.3549, allocations: 398.1 kB / 1.045 GB, free: 12.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3549, allocations: 0 / 1.045 GB, free: 12.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007752/0.3557, allocations: 0.493 MB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3557, allocations: 11.88 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.3557, allocations: 4.703 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3557, allocations: 8 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.3561, allocations: 99.81 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3561, allocations: 4 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.3564, allocations: 67.66 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.3564, allocations: 20 kB / 1.045 GB, free: 11.61 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.0001557/0.3566, allocations: 163.9 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3566, allocations: 31.66 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.3567, allocations: 33.88 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3567, allocations: 4 kB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3567, allocations: 0 / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3567, allocations: 7.984 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.3571, allocations: 361.2 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3571, allocations: 0 / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.3574, allocations: 75.89 kB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.3575, allocations: 7.938 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.3575, allocations: 8 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3575, allocations: 4 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3575, allocations: 7.938 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/0.3585, allocations: 0.5978 MB / 1.046 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.3586, allocations: 104.7 kB / 1.047 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.3586, allocations: 15.92 kB / 1.047 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.3589, allocations: 48.06 kB / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.359, allocations: 59.91 kB / 1.047 GB, free: 9.996 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.359, allocations: 19.98 kB / 1.047 GB, free: 9.977 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.3591, allocations: 125.2 kB / 1.047 GB, free: 9.855 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3591, allocations: 192 / 1.047 GB, free: 9.855 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002826/0.3594, allocations: 76 kB / 1.047 GB, free: 9.781 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.0001702/0.3596, allocations: 129.3 kB / 1.047 GB, free: 9.648 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006562/0.3602, allocations: 398.6 kB / 1.047 GB, free: 9.258 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3603, allocations: 0 / 1.047 GB, free: 9.258 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.3606, allocations: 208.5 kB / 1.048 GB, free: 9.055 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3609, allocations: 47.09 kB / 1.048 GB, free: 9.012 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.362, allocations: 0.7065 MB / 1.048 GB, free: 8.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3623, allocations: 0.7647 MB / 1.049 GB, free: 7.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.3625, allocations: 46.89 kB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.3626, allocations: 27.44 kB / 1.049 GB, free: 7.41 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.3626, allocations: 0 / 1.049 GB, free: 7.41 MB / 0.698 GB Notification: Performance of Templates: time 0.006429/0.369, allocations: 3.294 MB / 1.052 GB, free: 4.141 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)