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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004177/0.004176, allocations: 231.7 kB / 15.82 MB, free: 6.301 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.001126/0.001125, allocations: 177.9 kB / 16.71 MB, free: 5.453 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.974/3.974, allocations: 389.1 MB / 406.5 MB, free: 11.81 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.108/4.108, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.00051, allocations: 19.94 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1806, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.799/0.9796, allocations: 125.3 MB / 1.227 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.98, allocations: 72.59 kB / 1.227 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03241/1.012, allocations: 6.975 MB / 1.234 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/1.012, allocations: 0 / 1.234 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.012, allocations: 9.312 kB / 1.234 GB, free: 23.91 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.001611/1.014, allocations: 0.6162 MB / 1.234 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.014, allocations: 11.22 kB / 1.235 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.014, allocations: 38.09 kB / 1.235 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/1.014, allocations: 196.7 kB / 1.235 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/1.015, allocations: 264.9 kB / 1.235 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/1.015, allocations: 27 kB / 1.235 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/1.015, allocations: 269.5 kB / 1.235 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/1.016, allocations: 3.5 kB / 1.235 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/1.016, allocations: 7.562 kB / 1.235 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/1.016, allocations: 4 kB / 1.235 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/1.016, allocations: 190.5 kB / 1.235 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/1.018, allocations: 0.7997 MB / 1.236 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/1.019, allocations: 212.1 kB / 1.236 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/1.019, allocations: 140.4 kB / 1.237 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/1.019, allocations: 11.8 kB / 1.237 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007525/1.02, allocations: 317.8 kB / 1.237 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/1.02, allocations: 0 / 1.237 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001621/1.022, allocations: 495.3 kB / 1.237 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/1.022, allocations: 121.5 kB / 1.237 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/1.022, allocations: 184.8 kB / 1.238 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/1.022, allocations: 37.08 kB / 1.238 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/1.022, allocations: 121 kB / 1.238 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.022, allocations: 149 kB / 1.238 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/1.022, allocations: 14.66 kB / 1.238 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.022, allocations: 341.6 kB / 1.238 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/1.023, allocations: 149.8 kB / 1.238 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/1.024, allocations: 261.6 kB / 1.239 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/1.024, allocations: 173 kB / 1.239 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.024, allocations: 0 / 1.239 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001284/1.025, allocations: 498.9 kB / 1.239 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.025, allocations: 8 kB / 1.239 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/1.025, allocations: 6.844 kB / 1.239 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/1.026, allocations: 4 kB / 1.239 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/1.026, allocations: 98.44 kB / 1.239 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.026, allocations: 8 kB / 1.239 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/1.027, allocations: 69.05 kB / 1.24 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/1.027, allocations: 29.83 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.0006394/1.027, allocations: 158.8 kB / 1.24 GB, free: 35.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/1.028, allocations: 28.34 kB / 1.24 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/1.028, allocations: 34.84 kB / 1.24 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.028, allocations: 6.688 kB / 1.24 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.028, allocations: 0 / 1.24 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/1.028, allocations: 2.859 kB / 1.24 GB, free: 35.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/1.028, allocations: 358.3 kB / 1.24 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.028, allocations: 4 kB / 1.24 GB, free: 34.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/1.029, allocations: 68.47 kB / 1.24 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.029, allocations: 8.031 kB / 1.24 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/1.029, allocations: 14.06 kB / 1.24 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.029, allocations: 10.61 kB / 1.24 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.029, allocations: 1.344 kB / 1.24 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/1.031, allocations: 0.5951 MB / 1.241 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/1.031, allocations: 105 kB / 1.241 GB, free: 34.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.203e-05/1.031, allocations: 9.812 kB / 1.241 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.031, allocations: 49.12 kB / 1.241 GB, free: 34.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.032, allocations: 45.66 kB / 1.241 GB, free: 34.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/1.032, allocations: 20.69 kB / 1.241 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001341/1.032, allocations: 125.3 kB / 1.241 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.032, allocations: 0.5938 kB / 1.241 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004918/1.032, allocations: 89.62 kB / 1.241 GB, free: 34.05 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.0001932/1.032, allocations: 124 kB / 1.241 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00117/1.034, allocations: 381.4 kB / 1.242 GB, free: 33.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.034, allocations: 3.469 kB / 1.242 GB, free: 33.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/1.034, allocations: 190 kB / 1.242 GB, free: 33.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/1.035, allocations: 53.3 kB / 1.242 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/1.036, allocations: 0.708 MB / 1.243 GB, free: 32.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/1.037, allocations: 0.7779 MB / 1.243 GB, free: 32.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000317/1.037, allocations: 36.42 kB / 1.243 GB, free: 32.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.037, allocations: 34.06 kB / 1.243 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/1.037, allocations: 0 / 1.243 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.009368/1.047, allocations: 3.038 MB / 1.246 GB, free: 29.34 MB / 0.6355 GB