Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004258/0.004262, allocations: 231.3 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001143/0.001143, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.989/3.989, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.015/4.015, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006751/0.0006754, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1833, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7871/0.9705, allocations: 125.3 MB / 1.227 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.9708, allocations: 83.42 kB / 1.227 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03169/1.002, allocations: 6.966 MB / 1.234 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/1.003, allocations: 0 / 1.234 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.003, allocations: 4.844 kB / 1.234 GB, free: 23.89 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.001598/1.004, allocations: 0.6166 MB / 1.234 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.004, allocations: 8.031 kB / 1.234 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/1.004, allocations: 39.19 kB / 1.235 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.004, allocations: 192.7 kB / 1.235 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/1.005, allocations: 268.4 kB / 1.235 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/1.005, allocations: 29.91 kB / 1.235 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/1.006, allocations: 266.4 kB / 1.235 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/1.006, allocations: 6.844 kB / 1.235 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/1.006, allocations: 7.812 kB / 1.235 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/1.006, allocations: 4 kB / 1.235 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/1.006, allocations: 187.4 kB / 1.235 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/1.008, allocations: 0.8024 MB / 1.236 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/1.009, allocations: 215.5 kB / 1.236 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/1.009, allocations: 134.3 kB / 1.237 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.367e-05/1.009, allocations: 17.81 kB / 1.237 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007583/1.01, allocations: 313.5 kB / 1.237 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.487e-06/1.01, allocations: 0 / 1.237 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001592/1.012, allocations: 0.4929 MB / 1.237 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.012, allocations: 121 kB / 1.237 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/1.012, allocations: 182.9 kB / 1.238 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/1.012, allocations: 40.77 kB / 1.238 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/1.012, allocations: 120.9 kB / 1.238 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/1.012, allocations: 148.2 kB / 1.238 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/1.012, allocations: 12.81 kB / 1.238 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.013, allocations: 341 kB / 1.238 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/1.013, allocations: 155 kB / 1.238 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/1.014, allocations: 255.8 kB / 1.239 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/1.014, allocations: 172.2 kB / 1.239 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.014, allocations: 0 / 1.239 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001294/1.015, allocations: 494 kB / 1.239 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.016, allocations: 4 kB / 1.239 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.016, allocations: 4 kB / 1.239 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/1.016, allocations: 8 kB / 1.239 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/1.016, allocations: 103.5 kB / 1.239 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/1.016, allocations: 6.5 kB / 1.239 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/1.017, allocations: 69.88 kB / 1.24 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/1.017, allocations: 23.33 kB / 1.24 GB, free: 19.34 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.0006514/1.018, allocations: 162.6 kB / 1.24 GB, free: 35.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/1.018, allocations: 31.31 kB / 1.24 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/1.018, allocations: 30.25 kB / 1.24 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.018, allocations: 4 kB / 1.24 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.018, allocations: 7 kB / 1.24 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/1.018, allocations: 7.312 kB / 1.24 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/1.018, allocations: 357.1 kB / 1.24 GB, free: 34.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.018, allocations: 2.625 kB / 1.24 GB, free: 34.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007958/1.019, allocations: 81.42 kB / 1.24 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/1.019, allocations: 0 / 1.24 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/1.019, allocations: 10.23 kB / 1.24 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.019, allocations: 7 kB / 1.24 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.019, allocations: 0 / 1.24 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/1.021, allocations: 0.5976 MB / 1.241 GB, free: 34.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/1.021, allocations: 108.3 kB / 1.241 GB, free: 34.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/1.021, allocations: 11.56 kB / 1.241 GB, free: 34.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/1.022, allocations: 39.42 kB / 1.241 GB, free: 34.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.022, allocations: 42.44 kB / 1.241 GB, free: 34.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/1.022, allocations: 18.95 kB / 1.241 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001356/1.022, allocations: 125.6 kB / 1.241 GB, free: 34.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.022, allocations: 0 / 1.241 GB, free: 34.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004956/1.022, allocations: 86.75 kB / 1.241 GB, free: 34.04 MB / 0.6355 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.0002056/1.023, allocations: 131.1 kB / 1.241 GB, free: 33.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001167/1.024, allocations: 399.6 kB / 1.242 GB, free: 33.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.024, allocations: 0 / 1.242 GB, free: 33.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005505/1.024, allocations: 179.5 kB / 1.242 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/1.025, allocations: 59.06 kB / 1.242 GB, free: 33.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/1.027, allocations: 0.7026 MB / 1.243 GB, free: 32.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/1.027, allocations: 0.7734 MB / 1.243 GB, free: 32.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000343/1.027, allocations: 38.03 kB / 1.243 GB, free: 32.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/1.027, allocations: 31.66 kB / 1.243 GB, free: 32.13 MB / 0.6355 GB Notification: Performance of SimCode: time 9.91e-07/1.027, allocations: 0 / 1.243 GB, free: 32.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.009521/1.037, allocations: 3.052 MB / 1.246 GB, free: 29.34 MB / 0.6355 GB