Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01417/0.01417, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001762/0.001762, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.532/2.532, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.483/2.483, allocations: 252.8 MB / 0.511 GB, free: 8.289 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007106/0.0007108, allocations: 18.16 kB / 0.6244 GB, free: 21.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2503, allocations: 106.2 MB / 0.7281 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002808/0.2532, allocations: 1.666 MB / 0.7297 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2547, allocations: 0.6559 MB / 0.7304 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.2549, allocations: 0 / 0.7304 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.2549, allocations: 19.73 kB / 0.7304 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.2551, allocations: 47.89 kB / 0.7304 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.2557, allocations: 123.7 kB / 0.7305 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.256, allocations: 183.7 kB / 0.7307 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2562, allocations: 40.31 kB / 0.7308 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.2564, allocations: 119.6 kB / 0.7309 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.2567, allocations: 123.5 kB / 0.731 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.2567, allocations: 16 kB / 0.731 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.96e-05/0.2568, allocations: 16 kB / 0.731 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.2569, allocations: 59.78 kB / 0.7311 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.257, allocations: 65.58 kB / 0.7311 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.2573, allocations: 207.7 kB / 0.7313 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2573, allocations: 0 / 0.7313 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2573, allocations: 0 / 0.7313 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2573, allocations: 0 / 0.7313 GB, free: 4.715 MB / 0.5573 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.00174/0.2591, allocations: 0.6042 MB / 0.7319 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.2592, allocations: 12.03 kB / 0.7319 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.2593, allocations: 66.47 kB / 0.732 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.2594, allocations: 35.58 kB / 0.732 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2596, allocations: 195.6 kB / 0.7322 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.2599, allocations: 259.8 kB / 0.7325 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.502e-05/0.26, allocations: 28 kB / 0.7325 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.2608, allocations: 261.8 kB / 0.7327 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2609, allocations: 0 / 0.7327 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.261, allocations: 19.92 kB / 0.7328 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.261, allocations: 4 kB / 0.7328 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.2618, allocations: 187.8 kB / 0.7329 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.2635, allocations: 0.7855 MB / 0.7337 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.2643, allocations: 216.7 kB / 0.7339 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.2644, allocations: 12.11 kB / 0.7339 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009135/0.2653, allocations: 311.5 kB / 0.7342 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 4.008e-06/0.2653, allocations: 0 / 0.7342 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.001813/0.2671, allocations: 0.4955 MB / 0.7347 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2673, allocations: 118.8 kB / 0.7348 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.2675, allocations: 179.9 kB / 0.735 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.2676, allocations: 37.7 kB / 0.735 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2677, allocations: 121.3 kB / 0.7351 GB, free: 492 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.2679, allocations: 146 kB / 0.7353 GB, free: 344 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.2679, allocations: 12 kB / 0.7353 GB, free: 332 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.2681, allocations: 342.8 kB / 0.7356 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.2687, allocations: 153.2 kB / 0.7358 GB, free: 15.83 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.2694, allocations: 252.7 kB / 0.736 GB, free: 15.55 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.27, allocations: 172 kB / 0.7362 GB, free: 15.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.27, allocations: 4 kB / 0.7362 GB, free: 15.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001503/0.2715, allocations: 0.4892 MB / 0.7367 GB, free: 14.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2715, allocations: 4 kB / 0.7367 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2716, allocations: 4 kB / 0.7367 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2716, allocations: 4 kB / 0.7367 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.2724, allocations: 103.8 kB / 0.7368 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.2724, allocations: 11.92 kB / 0.7368 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.2729, allocations: 67.66 kB / 0.7368 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.273, allocations: 20 kB / 0.7369 GB, free: 14.67 MB / 0.573 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.0002656/0.2733, allocations: 159.9 kB / 0.737 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.2734, allocations: 39.66 kB / 0.7371 GB, free: 14.46 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.667e-05/0.2735, allocations: 37.86 kB / 0.7371 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.2735, allocations: 4 kB / 0.7371 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.2735, allocations: 0 / 0.7371 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.2735, allocations: 11.92 kB / 0.7371 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.2741, allocations: 349.2 kB / 0.7374 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2741, allocations: 4 kB / 0.7374 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.2749, allocations: 67.91 kB / 0.7375 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.275, allocations: 7.953 kB / 0.7375 GB, free: 13.94 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.275, allocations: 15.98 kB / 0.7375 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.2751, allocations: 4 kB / 0.7375 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2751, allocations: 4 kB / 0.7375 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.277, allocations: 0.6169 MB / 0.7381 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.2771, allocations: 100.8 kB / 0.7382 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.2772, allocations: 15.98 kB / 0.7382 GB, free: 13.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.2777, allocations: 43.97 kB / 0.7383 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.2778, allocations: 39.94 kB / 0.7383 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.2779, allocations: 16 kB / 0.7383 GB, free: 13.04 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001406/0.2781, allocations: 125.2 kB / 0.7385 GB, free: 12.92 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-07/0.2781, allocations: 192 / 0.7385 GB, free: 12.92 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005008/0.2786, allocations: 80 kB / 0.7385 GB, free: 12.84 MB / 0.573 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.002429/0.281, allocations: 1.324 MB / 0.7398 GB, free: 11.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.2825, allocations: 399.9 kB / 0.7402 GB, free: 11.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2825, allocations: 0 / 0.7402 GB, free: 11.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.2831, allocations: 187.3 kB / 0.7404 GB, free: 10.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.2836, allocations: 34.67 kB / 0.7404 GB, free: 10.88 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.2866, allocations: 2.706 MB / 0.7431 GB, free: 8.062 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.2871, allocations: 0.7725 MB / 0.7438 GB, free: 7.266 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.2874, allocations: 39.16 kB / 0.7439 GB, free: 7.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.2877, allocations: 87.34 kB / 0.7439 GB, free: 7.145 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/0.2877, allocations: 0 / 0.7439 GB, free: 7.145 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.3231, allocations: 5.425 MB / 0.7492 GB, free: 1.848 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.3235, allocations: 195.7 kB / 0.7494 GB, free: 1.609 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/2.95, allocations: 3.938 kB / 0.7494 GB, free: 1.605 MB / 0.573 GB