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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01121/0.01121, allocations: 106.7 kB / 15.05 MB, free: 5.93 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.001227/0.001227, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.036/2.036, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.362/2.362, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004851, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6826, allocations: 98.73 MB / 0.6835 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2685/0.9512, allocations: 125.3 MB / 0.8058 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.9515, allocations: 75.95 kB / 0.8059 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04055/0.9921, allocations: 8.701 MB / 0.8144 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9921, allocations: 4 kB / 0.8144 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.9922, allocations: 4 kB / 0.8144 GB, free: 8.094 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.001781/0.9939, allocations: 0.6183 MB / 0.815 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.994, allocations: 8.031 kB / 0.815 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.9941, allocations: 58.48 kB / 0.815 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.9942, allocations: 35.72 kB / 0.8151 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.9944, allocations: 195.5 kB / 0.8153 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.9947, allocations: 271.7 kB / 0.8155 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.9948, allocations: 27.95 kB / 0.8155 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.9956, allocations: 262 kB / 0.8158 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.9957, allocations: 7.906 kB / 0.8158 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.9957, allocations: 11.94 kB / 0.8158 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.9957, allocations: 7.984 kB / 0.8158 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.9965, allocations: 183.8 kB / 0.816 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.9986, allocations: 0.8013 MB / 0.8168 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007885/0.9994, allocations: 212.5 kB / 0.817 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.199e-05/0.9995, allocations: 16.16 kB / 0.817 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008561/1, allocations: 311.6 kB / 0.8173 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.767e-06/1, allocations: 0 / 0.8173 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.001806/1.002, allocations: 498.1 kB / 0.8178 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/1.002, allocations: 122.7 kB / 0.8179 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/1.003, allocations: 158.5 kB / 0.818 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/1.003, allocations: 41.69 kB / 0.8181 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/1.003, allocations: 121.3 kB / 0.8182 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/1.003, allocations: 146 kB / 0.8183 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/1.003, allocations: 16 kB / 0.8183 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.003, allocations: 346.8 kB / 0.8187 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/1.004, allocations: 145.2 kB / 0.8188 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/1.004, allocations: 252.8 kB / 0.8191 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/1.005, allocations: 179.9 kB / 0.8192 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.005, allocations: 4 kB / 0.8192 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001577/1.007, allocations: 497.4 kB / 0.8197 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.007, allocations: 4 kB / 0.8197 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.007, allocations: 4 kB / 0.8197 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.007, allocations: 7.938 kB / 0.8197 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/1.007, allocations: 99.92 kB / 0.8198 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.007, allocations: 8.141 kB / 0.8198 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/1.008, allocations: 67.66 kB / 0.8199 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/1.008, allocations: 31.97 kB / 0.8199 GB, free: 2.027 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 () * 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.000278/1.008, allocations: 155.9 kB / 0.8201 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/1.008, allocations: 31.62 kB / 0.8201 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/1.009, allocations: 33.86 kB / 0.8201 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.009, allocations: 4 kB / 0.8201 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.009, allocations: 4 kB / 0.8201 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.009, allocations: 11.88 kB / 0.8201 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/1.009, allocations: 357.2 kB / 0.8205 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.009, allocations: 0 / 0.8205 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/1.01, allocations: 75.89 kB / 0.8206 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.01, allocations: 4 kB / 0.8206 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/1.01, allocations: 11.98 kB / 0.8206 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.01, allocations: 4 kB / 0.8206 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.01, allocations: 0 / 0.8206 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/1.012, allocations: 0.6208 MB / 0.8212 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/1.012, allocations: 104.8 kB / 0.8213 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/1.012, allocations: 8 kB / 0.8213 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/1.013, allocations: 51.89 kB / 0.8213 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.013, allocations: 39.91 kB / 0.8214 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/1.013, allocations: 19.98 kB / 0.8214 GB, free: 388 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001343/1.013, allocations: 121.2 kB / 0.8215 GB, free: 268 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.013, allocations: 0 / 0.8215 GB, free: 268 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005257/1.014, allocations: 87.94 kB / 0.8216 GB, free: 180 kB / 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.002375/1.016, allocations: 1.33 MB / 0.8229 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001342/1.018, allocations: 389.6 kB / 0.8233 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.018, allocations: 0 / 0.8233 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/1.018, allocations: 195.6 kB / 0.8235 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/1.019, allocations: 32.36 kB / 0.8235 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/1.022, allocations: 2.697 MB / 0.8261 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/1.022, allocations: 0.7764 MB / 0.8269 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003402/1.023, allocations: 34.97 kB / 0.8269 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/1.023, allocations: 87.41 kB / 0.827 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of SimCode: time 1.263e-06/1.023, allocations: 3.938 kB / 0.827 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/1.052, allocations: 5.449 MB / 0.8323 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/1.052, allocations: 215.1 kB / 0.8325 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.767, allocations: 0 / 0.8325 GB, free: 4.945 MB / 0.6511 GB