Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.895/3.895, allocations: 433.3 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.189e-05, allocations: 12 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5156, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.7038, allocations: 124.5 MB / 0.7505 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.7041, allocations: 75.8 kB / 0.7506 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03591/0.74, allocations: 8.615 MB / 0.759 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7401, allocations: 0 / 0.759 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.7401, allocations: 4 kB / 0.759 GB, free: 10.34 MB / 0.6355 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.001321/0.7414, allocations: 0.5907 MB / 0.7596 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.7415, allocations: 8.031 kB / 0.7596 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.704e-05/0.7416, allocations: 31.62 kB / 0.7596 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.7418, allocations: 199.6 kB / 0.7598 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.7421, allocations: 255.8 kB / 0.7601 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.7422, allocations: 27.84 kB / 0.7601 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004155/0.7426, allocations: 136.8 kB / 0.7602 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.7431, allocations: 209.5 kB / 0.7604 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.7431, allocations: 8 kB / 0.7604 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.7432, allocations: 3.984 kB / 0.7604 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.184e-06/0.7432, allocations: 4 kB / 0.7604 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.7447, allocations: 0.7511 MB / 0.7612 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.7453, allocations: 176.1 kB / 0.7614 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.7455, allocations: 113.8 kB / 0.7615 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.7456, allocations: 8.125 kB / 0.7615 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.7461, allocations: 274.7 kB / 0.7617 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.437e-06/0.7462, allocations: 0 / 0.7617 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0007831/0.747, allocations: 309.6 kB / 0.762 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.747, allocations: 106.8 kB / 0.7621 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.7472, allocations: 154.6 kB / 0.7623 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.7473, allocations: 25.7 kB / 0.7623 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.7474, allocations: 121.2 kB / 0.7624 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.7476, allocations: 145.9 kB / 0.7626 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.7477, allocations: 0 / 0.7626 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.7479, allocations: 342.8 kB / 0.7629 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.7482, allocations: 129.4 kB / 0.763 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.7487, allocations: 220.5 kB / 0.7632 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.749, allocations: 135.8 kB / 0.7633 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.749, allocations: 0 / 0.7633 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009443/0.75, allocations: 397.1 kB / 0.7637 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.75, allocations: 4.781 kB / 0.7637 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.7501, allocations: 4 kB / 0.7637 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.7501, allocations: 11.98 kB / 0.7637 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.7506, allocations: 95.83 kB / 0.7638 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.7507, allocations: 4.703 kB / 0.7638 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.751, allocations: 63.64 kB / 0.7639 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.7511, allocations: 24 kB / 0.7639 GB, free: 4.965 MB / 0.6355 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 () * 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.0001756/0.7513, allocations: 123.1 kB / 0.764 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.7514, allocations: 31.72 kB / 0.7641 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.7515, allocations: 25.95 kB / 0.7641 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.24e-06/0.7515, allocations: 4 kB / 0.7641 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.189e-06/0.7515, allocations: 4 kB / 0.7641 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.7515, allocations: 0 / 0.7641 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.752, allocations: 313.8 kB / 0.7644 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.984e-06/0.752, allocations: 0 / 0.7644 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.7526, allocations: 83.83 kB / 0.7645 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.255e-06/0.7526, allocations: 0 / 0.7645 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.7527, allocations: 20 kB / 0.7645 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7527, allocations: 0 / 0.7645 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.881e-06/0.7527, allocations: 0 / 0.7645 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.7539, allocations: 0.523 MB / 0.765 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.754, allocations: 104.7 kB / 0.7651 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.754, allocations: 15.98 kB / 0.7651 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.7544, allocations: 31.97 kB / 0.7652 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.7545, allocations: 39.98 kB / 0.7652 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.7546, allocations: 19.98 kB / 0.7652 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001211/0.7547, allocations: 120.1 kB / 0.7653 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.94e-07/0.7547, allocations: 0 / 0.7653 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004611/0.7552, allocations: 63.94 kB / 0.7654 GB, free: 3.363 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 () * 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.000218/0.7554, allocations: 115.1 kB / 0.7655 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007653/0.7562, allocations: 320 kB / 0.7658 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.382e-06/0.7562, allocations: 4 kB / 0.7658 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.7566, allocations: 158.2 kB / 0.766 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.7569, allocations: 36.05 kB / 0.766 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.7582, allocations: 482.5 kB / 0.7665 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.7587, allocations: 0.7647 MB / 0.7672 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002468/0.7589, allocations: 47.25 kB / 0.7672 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.7591, allocations: 31.44 kB / 0.7673 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of SimCode: time 1.73e-06/0.7591, allocations: 4 kB / 0.7673 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of Templates: time 0.008883/0.768, allocations: 2.836 MB / 0.77 GB, free: 14.55 MB / 0.6511 GB