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_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, 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.001064/0.001064, allocations: 175.5 kB / 327.5 MB, free: 2.16 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.617/1.617, allocations: 205.4 MB / 0.5785 GB, free: 20.48 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.0008257/0.0008258, allocations: 87.97 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003843, allocations: 14.03 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 106.3 MB / 0.9013 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.3272, allocations: 132.5 MB / 1.031 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3275, allocations: 71.95 kB / 1.031 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02373/0.3512, allocations: 8.839 MB / 1.039 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3513, allocations: 0 / 1.039 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.3513, allocations: 4.219 kB / 1.039 GB, free: 2.391 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.001073/0.3524, allocations: 0.6184 MB / 1.04 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3524, allocations: 12.03 kB / 1.04 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3525, allocations: 32.56 kB / 1.04 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.3527, allocations: 196.9 kB / 1.04 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.353, allocations: 264.3 kB / 1.04 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.353, allocations: 36.28 kB / 1.04 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.3535, allocations: 266.2 kB / 1.041 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3536, allocations: 3.938 kB / 1.041 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.3536, allocations: 12 kB / 1.041 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3536, allocations: 8 kB / 1.041 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.354, allocations: 179.9 kB / 1.041 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3553, allocations: 0.8126 MB / 1.042 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.3558, allocations: 207.7 kB / 1.042 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.3561, allocations: 138.5 kB / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.3561, allocations: 4 kB / 1.042 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005856/0.3567, allocations: 323.6 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.3567, allocations: 0 / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001056/0.3578, allocations: 0.4885 MB / 1.043 GB, free: 14.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/0.3579, allocations: 114.8 kB / 1.043 GB, free: 14.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3581, allocations: 179.5 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.3582, allocations: 37.7 kB / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.3583, allocations: 125.2 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.3584, allocations: 149.9 kB / 1.043 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.3584, allocations: 12 kB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3586, allocations: 342.8 kB / 1.044 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.359, allocations: 153.2 kB / 1.044 GB, free: 13.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.3594, allocations: 248.8 kB / 1.044 GB, free: 13.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.36, allocations: 402 kB / 1.045 GB, free: 12.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.36, allocations: 0 / 1.045 GB, free: 12.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009441/0.361, allocations: 497 kB / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.361, allocations: 11.88 kB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3611, allocations: 4 kB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.3611, allocations: 15.97 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.3615, allocations: 99.83 kB / 1.045 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3615, allocations: 4.703 kB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.3618, allocations: 67.66 kB / 1.045 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.3619, allocations: 24 kB / 1.045 GB, free: 11.96 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.0001806/0.362, allocations: 159.9 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.3621, allocations: 31.66 kB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.507e-05/0.3622, allocations: 29.88 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3622, allocations: 4 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3622, allocations: 3.984 kB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.3622, allocations: 4 kB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.3626, allocations: 361.2 kB / 1.046 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3626, allocations: 4 kB / 1.046 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.363, allocations: 75.89 kB / 1.046 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.363, allocations: 7.938 kB / 1.046 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.3631, allocations: 11.94 kB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.3631, allocations: 4 kB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3631, allocations: 0 / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3642, allocations: 0.6017 MB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.3642, allocations: 112.7 kB / 1.047 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.3643, allocations: 15.94 kB / 1.047 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3645, allocations: 39.97 kB / 1.047 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.3647, allocations: 63.95 kB / 1.047 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3647, allocations: 19.98 kB / 1.047 GB, free: 10.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.3648, allocations: 121.2 kB / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3648, allocations: 0 / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003193/0.3651, allocations: 80 kB / 1.047 GB, free: 10.14 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.0002025/0.3653, allocations: 119.2 kB / 1.047 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007092/0.366, allocations: 399.7 kB / 1.047 GB, free: 9.625 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3661, allocations: 0 / 1.047 GB, free: 9.625 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.3664, allocations: 208.6 kB / 1.048 GB, free: 9.422 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3668, allocations: 52.64 kB / 1.048 GB, free: 9.371 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3679, allocations: 0.7024 MB / 1.048 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3683, allocations: 0.7647 MB / 1.049 GB, free: 7.844 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.3684, allocations: 42.91 kB / 1.049 GB, free: 7.805 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3686, allocations: 31.42 kB / 1.049 GB, free: 7.773 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/0.3686, allocations: 0 / 1.049 GB, free: 7.773 MB / 0.698 GB Notification: Performance of Templates: time 0.006301/0.3749, allocations: 3.305 MB / 1.052 GB, free: 4.508 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)