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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01447/0.01448, allocations: 84.72 kB / 15.04 MB, free: 5.586 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.001802/0.001802, allocations: 173.4 kB / 15.92 MB, free: 5.559 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.277/2.277, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.525/2.525, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007323/0.0007326, allocations: 21.14 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2273, allocations: 106.2 MB / 0.7281 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003146/0.2305, allocations: 1.67 MB / 0.7297 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2322, allocations: 0.6559 MB / 0.7304 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2324, allocations: 0 / 0.7304 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.2325, allocations: 19.73 kB / 0.7304 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2327, allocations: 39.91 kB / 0.7304 GB, free: 7.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.2333, allocations: 123.7 kB / 0.7305 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004872/0.2338, allocations: 191.6 kB / 0.7307 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.2341, allocations: 40.36 kB / 0.7308 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.2344, allocations: 111.6 kB / 0.7309 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.2348, allocations: 131.5 kB / 0.731 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.2349, allocations: 19.94 kB / 0.731 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.235, allocations: 16 kB / 0.731 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2351, allocations: 59.8 kB / 0.7311 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.2352, allocations: 61.58 kB / 0.7311 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.2356, allocations: 215.7 kB / 0.7313 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2357, allocations: 0 / 0.7313 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2357, allocations: 0 / 0.7313 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2357, allocations: 0 / 0.7313 GB, free: 6.73 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.002232/0.2379, allocations: 0.6003 MB / 0.7319 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.238, allocations: 12.03 kB / 0.7319 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.2381, allocations: 58.48 kB / 0.732 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.2383, allocations: 43.56 kB / 0.732 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.2385, allocations: 187.6 kB / 0.7322 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.2389, allocations: 267.8 kB / 0.7325 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.239, allocations: 31.98 kB / 0.7325 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2401, allocations: 261.8 kB / 0.7327 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.2401, allocations: 3.938 kB / 0.7328 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.2402, allocations: 11.98 kB / 0.7328 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2402, allocations: 4 kB / 0.7328 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2413, allocations: 187.8 kB / 0.7329 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.2436, allocations: 0.7816 MB / 0.7337 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.2448, allocations: 216.7 kB / 0.7339 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/0.2449, allocations: 12.11 kB / 0.7339 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.2461, allocations: 311.5 kB / 0.7342 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 4.698e-06/0.2462, allocations: 4 kB / 0.7342 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.002755/0.2489, allocations: 0.4958 MB / 0.7347 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.2491, allocations: 110.8 kB / 0.7348 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.2495, allocations: 179.9 kB / 0.735 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.2496, allocations: 37.7 kB / 0.735 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2498, allocations: 121.3 kB / 0.7351 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.2501, allocations: 150 kB / 0.7353 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.2501, allocations: 16 kB / 0.7353 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.2504, allocations: 338.8 kB / 0.7356 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008557/0.2513, allocations: 145.2 kB / 0.7358 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009562/0.2522, allocations: 261.6 kB / 0.736 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008901/0.2532, allocations: 167.9 kB / 0.7362 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.2532, allocations: 0 / 0.7362 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002089/0.2553, allocations: 0.493 MB / 0.7367 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.2553, allocations: 8 kB / 0.7367 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.2554, allocations: 4 kB / 0.7367 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.2554, allocations: 7.938 kB / 0.7367 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.2564, allocations: 95.83 kB / 0.7368 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.2564, allocations: 11.94 kB / 0.7368 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.2571, allocations: 67.66 kB / 0.7368 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.2572, allocations: 27.98 kB / 0.7369 GB, free: 0.6875 MB / 0.5573 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.0003424/0.2576, allocations: 160 kB / 0.737 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2577, allocations: 31.58 kB / 0.737 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2578, allocations: 37.86 kB / 0.7371 GB, free: 464 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.2579, allocations: 8 kB / 0.7371 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.2579, allocations: 64 / 0.7371 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.2579, allocations: 7.938 kB / 0.7371 GB, free: 448 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.2587, allocations: 353.2 kB / 0.7374 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.2587, allocations: 4 kB / 0.7374 GB, free: 40 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.2599, allocations: 75.89 kB / 0.7375 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.2599, allocations: 7.953 kB / 0.7375 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/0.26, allocations: 11.98 kB / 0.7375 GB, free: 15.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.26, allocations: 4 kB / 0.7375 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.26, allocations: 0 / 0.7375 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.2628, allocations: 0.6208 MB / 0.7381 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.263, allocations: 104.8 kB / 0.7382 GB, free: 15.17 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.2631, allocations: 8 kB / 0.7382 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.2638, allocations: 47.95 kB / 0.7383 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.264, allocations: 35.95 kB / 0.7383 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/0.2641, allocations: 19.98 kB / 0.7383 GB, free: 15.06 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002006/0.2643, allocations: 121.2 kB / 0.7385 GB, free: 14.94 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2644, allocations: 0 / 0.7385 GB, free: 14.94 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008238/0.2652, allocations: 80 kB / 0.7385 GB, free: 14.86 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.00347/0.2687, allocations: 1.327 MB / 0.7398 GB, free: 13.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.2706, allocations: 400.5 kB / 0.7402 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.2707, allocations: 0 / 0.7402 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009205/0.2716, allocations: 188.7 kB / 0.7404 GB, free: 12.92 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.2722, allocations: 42.69 kB / 0.7404 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.2761, allocations: 2.686 MB / 0.7431 GB, free: 10.09 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.2768, allocations: 0.7725 MB / 0.7438 GB, free: 9.293 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004842/0.2773, allocations: 51.06 kB / 0.7439 GB, free: 9.246 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.2777, allocations: 83.41 kB / 0.7439 GB, free: 9.164 MB / 0.573 GB Notification: Performance of SimCode: time 1.392e-06/0.2777, allocations: 0 / 0.7439 GB, free: 9.164 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04716/0.3249, allocations: 5.449 MB / 0.7493 GB, free: 3.867 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.3252, allocations: 209.4 kB / 0.7495 GB, free: 3.629 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/2.99, allocations: 0 / 0.7495 GB, free: 3.629 MB / 0.573 GB