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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.183/4.183, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.196e-05/5.216e-05, allocations: 7.094 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2666, allocations: 98.74 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.5039, allocations: 125.2 MB / 0.757 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5042, allocations: 71.95 kB / 0.7571 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05019/0.5544, allocations: 8.656 MB / 0.7655 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5545, allocations: 0 / 0.7655 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.5545, allocations: 8 kB / 0.7655 GB, free: 11.75 MB / 0.6511 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.002241/0.5568, allocations: 0.6054 MB / 0.7661 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.5569, allocations: 8.031 kB / 0.7661 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.557, allocations: 62.53 kB / 0.7662 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.5572, allocations: 39.56 kB / 0.7662 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.5574, allocations: 187.7 kB / 0.7664 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/0.5578, allocations: 263.7 kB / 0.7666 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5579, allocations: 39.94 kB / 0.7667 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008771/0.5588, allocations: 233.8 kB / 0.7669 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.5589, allocations: 0 / 0.7669 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.559, allocations: 12.22 kB / 0.7669 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.559, allocations: 4 kB / 0.7669 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.5597, allocations: 151.9 kB / 0.7671 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.5623, allocations: 0.7973 MB / 0.7678 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/0.5631, allocations: 188.5 kB / 0.768 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.5636, allocations: 115.3 kB / 0.7681 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.5637, allocations: 12.12 kB / 0.7682 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009799/0.5647, allocations: 295.5 kB / 0.7684 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.678e-06/0.5647, allocations: 0 / 0.7684 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001408/0.5662, allocations: 332.4 kB / 0.7687 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.5663, allocations: 114.8 kB / 0.7689 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.5666, allocations: 158.6 kB / 0.769 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/0.5667, allocations: 37.7 kB / 0.769 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.5669, allocations: 121.2 kB / 0.7692 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.5672, allocations: 153.9 kB / 0.7693 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.5673, allocations: 20 kB / 0.7693 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.5675, allocations: 334.8 kB / 0.7696 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.5681, allocations: 125.6 kB / 0.7698 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/0.5688, allocations: 230.1 kB / 0.77 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.5695, allocations: 163.8 kB / 0.7701 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5695, allocations: 0 / 0.7701 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00171/0.5713, allocations: 453.1 kB / 0.7706 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.5713, allocations: 4 kB / 0.7706 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5713, allocations: 4 kB / 0.7706 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-05/0.5714, allocations: 8 kB / 0.7706 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.5724, allocations: 99.83 kB / 0.7707 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.651e-05/0.5725, allocations: 7.938 kB / 0.7707 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.5732, allocations: 63.66 kB / 0.7708 GB, free: 6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/0.5733, allocations: 28 kB / 0.7708 GB, free: 5.973 MB / 0.6511 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.0002621/0.5736, allocations: 147.1 kB / 0.7709 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5737, allocations: 27.72 kB / 0.7709 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.5739, allocations: 33.64 kB / 0.771 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5739, allocations: 8 kB / 0.771 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.574, allocations: 3.938 kB / 0.771 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.574, allocations: 0 / 0.771 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.5748, allocations: 361 kB / 0.7713 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5748, allocations: 0 / 0.7713 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.5759, allocations: 83.89 kB / 0.7714 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.576, allocations: 4 kB / 0.7714 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.5761, allocations: 15.98 kB / 0.7714 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.5761, allocations: 4 kB / 0.7714 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5761, allocations: 0 / 0.7714 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.5782, allocations: 0.5624 MB / 0.772 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.5783, allocations: 108.7 kB / 0.7721 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.5785, allocations: 8 kB / 0.7721 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.5791, allocations: 39.95 kB / 0.7721 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.5793, allocations: 44 kB / 0.7722 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.5794, allocations: 19.98 kB / 0.7722 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001879/0.5796, allocations: 125.2 kB / 0.7723 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.41e-07/0.5796, allocations: 0 / 0.7723 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007675/0.5804, allocations: 80 kB / 0.7724 GB, free: 4.203 MB / 0.6511 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.002765/0.5832, allocations: 1.272 MB / 0.7736 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.5847, allocations: 344.4 kB / 0.774 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5848, allocations: 0 / 0.774 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000703/0.5855, allocations: 163.9 kB / 0.7741 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.5861, allocations: 40.47 kB / 0.7742 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.5887, allocations: 0.5873 MB / 0.7747 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.5893, allocations: 0.7686 MB / 0.7755 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004211/0.5898, allocations: 38.97 kB / 0.7755 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.5901, allocations: 83.41 kB / 0.7756 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/0.5901, allocations: 0 / 0.7756 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5626/1.153, allocations: 5.573 MB / 0.781 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.153, allocations: 177.8 kB / 0.7812 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.813/3.966, allocations: 0 / 0.7812 GB, free: 140.1 MB / 0.6511 GB