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_nonZeroStart.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_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 loadModel(Buildings): time 3.825/3.825, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.05e-05, allocations: 8 kB / 0.5325 GB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.5018, allocations: 98.7 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.6962, allocations: 124.5 MB / 0.7505 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.6965, allocations: 75.89 kB / 0.7506 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0371/0.7336, allocations: 8.611 MB / 0.759 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7336, allocations: 4 kB / 0.759 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.7337, allocations: 4 kB / 0.759 GB, free: 10.32 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.001335/0.735, allocations: 0.5982 MB / 0.7596 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.7351, allocations: 12.02 kB / 0.7596 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/0.7352, allocations: 31.72 kB / 0.7596 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.7354, allocations: 195.5 kB / 0.7598 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.7357, allocations: 263.7 kB / 0.7601 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.7358, allocations: 23.91 kB / 0.7601 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004163/0.7362, allocations: 136.8 kB / 0.7602 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.7367, allocations: 213.5 kB / 0.7604 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.7368, allocations: 4 kB / 0.7604 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.7368, allocations: 0 / 0.7604 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.7368, allocations: 4 kB / 0.7605 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.7384, allocations: 0.755 MB / 0.7612 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.7389, allocations: 176.2 kB / 0.7614 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.7392, allocations: 111.3 kB / 0.7615 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.7393, allocations: 12.17 kB / 0.7615 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005713/0.7398, allocations: 266.7 kB / 0.7617 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.388e-06/0.7399, allocations: 4 kB / 0.7617 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0008013/0.7407, allocations: 307 kB / 0.762 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.165e-05/0.7408, allocations: 118.8 kB / 0.7621 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.741, allocations: 154.6 kB / 0.7623 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.741, allocations: 25.7 kB / 0.7623 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.7412, allocations: 117.2 kB / 0.7624 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.7413, allocations: 145.9 kB / 0.7626 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.7414, allocations: 3.938 kB / 0.7626 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.7416, allocations: 346.7 kB / 0.7629 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.7419, allocations: 117.6 kB / 0.763 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.7427, allocations: 216.5 kB / 0.7632 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007921/0.7435, allocations: 135.8 kB / 0.7633 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.975e-06/0.7435, allocations: 0 / 0.7633 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002195/0.7457, allocations: 405 kB / 0.7637 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.7458, allocations: 11.98 kB / 0.7637 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.7459, allocations: 0 / 0.7637 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.386e-05/0.7459, allocations: 8 kB / 0.7637 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.747, allocations: 95.83 kB / 0.7638 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/0.7471, allocations: 7.938 kB / 0.7638 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.7479, allocations: 59.66 kB / 0.7639 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.748, allocations: 20 kB / 0.7639 GB, free: 4.938 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.0003105/0.7483, allocations: 135.1 kB / 0.7641 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7485, allocations: 23.72 kB / 0.7641 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.7486, allocations: 25.97 kB / 0.7641 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.7487, allocations: 4 kB / 0.7641 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/0.7487, allocations: 11.98 kB / 0.7641 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.7487, allocations: 0 / 0.7641 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.7497, allocations: 309.7 kB / 0.7644 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.794e-06/0.7497, allocations: 0 / 0.7644 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.7508, allocations: 79.89 kB / 0.7645 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/0.7508, allocations: 7.938 kB / 0.7645 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.751, allocations: 11.98 kB / 0.7645 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-06/0.751, allocations: 0 / 0.7645 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.903e-06/0.751, allocations: 4 kB / 0.7645 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.7533, allocations: 0.523 MB / 0.765 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.7535, allocations: 104.7 kB / 0.7651 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.7537, allocations: 4 kB / 0.7651 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.7543, allocations: 39.95 kB / 0.7652 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.7546, allocations: 39.98 kB / 0.7652 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/0.7547, allocations: 19.98 kB / 0.7652 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000217/0.7549, allocations: 117.2 kB / 0.7653 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.236e-06/0.7549, allocations: 0 / 0.7653 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001006/0.756, allocations: 67.94 kB / 0.7654 GB, free: 3.332 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.0003723/0.7564, allocations: 123.1 kB / 0.7655 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.7579, allocations: 312.6 kB / 0.7658 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.344e-06/0.7579, allocations: 0 / 0.7658 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.7587, allocations: 162.8 kB / 0.766 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.7593, allocations: 34.78 kB / 0.766 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.7616, allocations: 489 kB / 0.7665 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.7624, allocations: 0.7725 MB / 0.7672 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005028/0.7629, allocations: 39.45 kB / 0.7673 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.7632, allocations: 31.42 kB / 0.7673 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of SimCode: time 2.247e-06/0.7632, allocations: 0 / 0.7673 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of Templates: time 0.01619/0.7794, allocations: 2.824 MB / 0.77 GB, free: 14.54 MB / 0.6511 GB