Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.751/1.751, allocations: 287.5 MB / 302.6 MB, free: 8.262 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.001015/0.001015, allocations: 180.8 kB / 371.2 MB, free: 10.84 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.651/1.651, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008167/0.0008164, allocations: 94.42 kB / 0.7432 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 13.91 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2899, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.00199/0.292, allocations: 1.613 MB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2931, allocations: 0.6488 MB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.2932, allocations: 4 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.2932, allocations: 11.86 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.2933, allocations: 31.7 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.2938, allocations: 127.7 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.294, allocations: 287.2 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2942, allocations: 40.38 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.2944, allocations: 111.7 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2945, allocations: 135.5 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.2946, allocations: 16 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.503e-05/0.2946, allocations: 16 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.2947, allocations: 59.8 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.2948, allocations: 65.58 kB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.295, allocations: 211.7 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.295, allocations: 0 / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.295, allocations: 0 / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.295, allocations: 0 / 0.982 GB, free: 24.8 MB / 0.6198 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.001217/0.2963, allocations: 0.612 MB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2963, allocations: 8.031 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.2964, allocations: 28.66 kB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2966, allocations: 200.7 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.2968, allocations: 272.2 kB / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.2968, allocations: 28.38 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.2973, allocations: 265.9 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.2973, allocations: 3.906 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.2973, allocations: 12 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2973, allocations: 4 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.2977, allocations: 191.8 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.2987, allocations: 0.7815 MB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.2991, allocations: 219.7 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.2994, allocations: 134.5 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.2994, allocations: 15.92 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004942/0.2999, allocations: 311.8 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.854e-06/0.2999, allocations: 0 / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0009151/0.3009, allocations: 0.4953 MB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3009, allocations: 118.7 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3011, allocations: 179.5 kB / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.3011, allocations: 37.7 kB / 0.9858 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.3012, allocations: 117.2 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.3013, allocations: 150 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.3013, allocations: 12 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.3014, allocations: 342.8 kB / 0.9864 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.3016, allocations: 149.2 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.3019, allocations: 256.8 kB / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.3025, allocations: 394 kB / 0.9871 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.3025, allocations: 4 kB / 0.9871 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006905/0.3032, allocations: 0.4897 MB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3032, allocations: 8 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3032, allocations: 4 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3032, allocations: 4 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.3036, allocations: 95.92 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3036, allocations: 15.92 kB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.3039, allocations: 75.59 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3039, allocations: 23.98 kB / 0.9878 GB, free: 18.41 MB / 0.6198 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.0001437/0.3041, allocations: 156.2 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.3041, allocations: 35.64 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.3042, allocations: 29.88 kB / 0.988 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3042, allocations: 8 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3042, allocations: 4 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3042, allocations: 3.984 kB / 0.988 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3045, allocations: 349.2 kB / 0.9884 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3045, allocations: 4 kB / 0.9884 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.3049, allocations: 79.83 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3049, allocations: 4 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.305, allocations: 11.98 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.305, allocations: 4.062 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.305, allocations: 4.078 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.3059, allocations: 0.6018 MB / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.306, allocations: 104.7 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.306, allocations: 16.17 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3062, allocations: 43.97 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3063, allocations: 43.88 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3064, allocations: 16 kB / 0.9893 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.1e-05/0.3065, allocations: 125.2 kB / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.3065, allocations: 0 / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002803/0.3068, allocations: 87.89 kB / 0.9895 GB, free: 16.6 MB / 0.6198 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.0001664/0.3069, allocations: 119.2 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006118/0.3075, allocations: 398.6 kB / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3076, allocations: 0 / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.3079, allocations: 187.7 kB / 0.9902 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3082, allocations: 45.41 kB / 0.9902 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.3092, allocations: 0.6977 MB / 0.9909 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3094, allocations: 0.7648 MB / 0.9916 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.3096, allocations: 42.94 kB / 0.9917 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3097, allocations: 39.38 kB / 0.9917 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3097, allocations: 0 / 0.9917 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.005851/0.3156, allocations: 3.038 MB / 0.9947 GB, free: 11.25 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)