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/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.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.014/4.014, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.435e-05/4.462e-05, allocations: 7.875 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 98.74 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2603/0.4917, allocations: 124.2 MB / 0.756 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.492, allocations: 71.95 kB / 0.7561 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003541/0.4956, allocations: 0.8254 MB / 0.7569 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4957, allocations: 0 / 0.7569 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.4957, allocations: 4 kB / 0.7569 GB, free: 4.629 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.0006004/0.4963, allocations: 358.5 kB / 0.7572 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.4964, allocations: 12.03 kB / 0.7572 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.4964, allocations: 30.56 kB / 0.7573 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.4965, allocations: 7.906 kB / 0.7573 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.4966, allocations: 174.9 kB / 0.7574 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4967, allocations: 4 kB / 0.7574 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.4967, allocations: 4 kB / 0.7574 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4968, allocations: 41.69 kB / 0.7575 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4969, allocations: 4 kB / 0.7575 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4969, allocations: 0 / 0.7575 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4969, allocations: 4 kB / 0.7575 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.497, allocations: 16 kB / 0.7575 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.4977, allocations: 308.8 kB / 0.7578 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4979, allocations: 30.58 kB / 0.7578 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.498, allocations: 16.86 kB / 0.7578 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.498, allocations: 0 / 0.7578 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.498, allocations: 30.56 kB / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.498, allocations: 0 / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002266/0.4983, allocations: 65.62 kB / 0.7579 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.4983, allocations: 55.36 kB / 0.758 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4985, allocations: 97 kB / 0.7581 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4985, allocations: 29.64 kB / 0.7581 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.4986, allocations: 96.11 kB / 0.7582 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.4986, allocations: 7.844 kB / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.4987, allocations: 0 / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4988, allocations: 310.8 kB / 0.7585 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.4988, allocations: 16 kB / 0.7585 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.4989, allocations: 8 kB / 0.7585 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.499, allocations: 11.98 kB / 0.7585 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.499, allocations: 0 / 0.7585 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001497/0.4991, allocations: 53.61 kB / 0.7586 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4992, allocations: 4 kB / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4992, allocations: 0 / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4992, allocations: 3.984 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.4995, allocations: 27.92 kB / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4995, allocations: 320 / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4997, allocations: 23.88 kB / 0.7586 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4997, allocations: 0 / 0.7586 GB, free: 2.594 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 8.621e-05/0.4998, allocations: 105 kB / 0.7587 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.4998, allocations: 0 / 0.7587 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.4999, allocations: 16.2 kB / 0.7588 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4999, allocations: 7.984 kB / 0.7588 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4999, allocations: 0 / 0.7588 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4999, allocations: 0 / 0.7588 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.5001, allocations: 169.6 kB / 0.7589 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.5002, allocations: 0 / 0.7589 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.5004, allocations: 19.98 kB / 0.7589 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5004, allocations: 0 / 0.7589 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5004, allocations: 3.984 kB / 0.759 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5004, allocations: 11.98 kB / 0.759 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5004, allocations: 0 / 0.759 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.5007, allocations: 155.3 kB / 0.7591 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.5007, allocations: 81.11 kB / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.5007, allocations: 0 / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.5009, allocations: 19.98 kB / 0.7592 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.501, allocations: 7.984 kB / 0.7592 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.501, allocations: 0 / 0.7592 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.5011, allocations: 87.28 kB / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.406e-06/0.5011, allocations: 0 / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002751/0.5014, allocations: 11.94 kB / 0.7593 GB, free: 1.82 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.0005777/0.502, allocations: 0.6868 MB / 0.76 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.5022, allocations: 27.94 kB / 0.76 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5022, allocations: 0 / 0.76 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.5022, allocations: 19.92 kB / 0.76 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.5025, allocations: 10.81 kB / 0.76 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.503, allocations: 98.56 kB / 0.7601 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.5033, allocations: 0.6848 MB / 0.7608 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.46e-05/0.5034, allocations: 0 / 0.7608 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.5035, allocations: 15.44 kB / 0.7608 GB, free: 200 kB / 0.6355 GB Notification: Performance of SimCode: time 1.542e-06/0.5035, allocations: 0 / 0.7608 GB, free: 200 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.5253, allocations: 1.299 MB / 0.7621 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/0.5257, allocations: 164.7 kB / 0.7622 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.035, allocations: 0 / 0.7622 GB, free: 14.74 MB / 0.6511 GB