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.Average.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.062/4.062, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.927e-05, allocations: 9.344 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.241, allocations: 98.75 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.4706, allocations: 123.5 MB / 0.7495 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4709, allocations: 67.97 kB / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003349/0.4743, allocations: 0.8328 MB / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4743, allocations: 0 / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4743, allocations: 0 / 0.7504 GB, free: 12.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006089/0.475, allocations: 358.5 kB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.475, allocations: 12.03 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.4751, allocations: 7.859 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.4753, allocations: 167.1 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4753, allocations: 0 / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4753, allocations: 8 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001155/0.4755, allocations: 12 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.4756, allocations: 41.69 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4756, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4756, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4756, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.4763, allocations: 293.3 kB / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.262e-05/0.4764, allocations: 30.58 kB / 0.7513 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.4765, allocations: 12.86 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4765, allocations: 96 / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4766, allocations: 50.55 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.4766, allocations: 0 / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002001/0.4768, allocations: 49.55 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4769, allocations: 51.41 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.477, allocations: 104.9 kB / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.477, allocations: 25.7 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.4771, allocations: 84.14 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4771, allocations: 7.906 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.4771, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4773, allocations: 322.8 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.4774, allocations: 11.94 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.4774, allocations: 4 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.4774, allocations: 11.94 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4775, allocations: 4 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001299/0.4776, allocations: 57.72 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4776, allocations: 4 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4776, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4777, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.4779, allocations: 27.92 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4779, allocations: 0 / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.4781, allocations: 15.98 kB / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.4781, allocations: 7.953 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.443e-05/0.4782, allocations: 109 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001264/0.4783, allocations: 45.7 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.4784, allocations: 7.906 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.4784, allocations: 8.328 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4784, allocations: 0 / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4785, allocations: 3.953 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4785, allocations: 0 / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.4787, allocations: 146.2 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.4787, allocations: 0 / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.4789, allocations: 23.98 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4789, allocations: 0 / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4789, allocations: 0 / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4789, allocations: 3.938 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.479, allocations: 0 / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.4791, allocations: 147.5 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.4792, allocations: 81.02 kB / 0.7527 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4792, allocations: 7.984 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.4794, allocations: 19.98 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.4795, allocations: 0 / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4795, allocations: 0 / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.4796, allocations: 95.56 kB / 0.7528 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4796, allocations: 0 / 0.7528 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002962/0.4799, allocations: 4 kB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0006051/0.4805, allocations: 0.6889 MB / 0.7535 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.4807, allocations: 23.94 kB / 0.7535 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4807, allocations: 0 / 0.7535 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.4807, allocations: 12 kB / 0.7535 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.481, allocations: 7.984 kB / 0.7535 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.4815, allocations: 105.5 kB / 0.7536 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.4819, allocations: 0.6846 MB / 0.7543 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.517e-05/0.4819, allocations: 4 kB / 0.7543 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.482, allocations: 11.44 kB / 0.7543 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.482, allocations: 3.938 kB / 0.7543 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.5145, allocations: 0.9589 MB / 0.7552 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/0.5149, allocations: 154.8 kB / 0.7554 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/2.914, allocations: 0 / 0.7554 GB, free: 7.027 MB / 0.6355 GB