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.Product.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.Product,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.248/4.248, allocations: 432.6 MB / 445.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.921e-05/4.955e-05, allocations: 6.125 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2194, allocations: 98.73 MB / 0.6347 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/0.4623, allocations: 124.2 MB / 0.756 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4626, allocations: 67.97 kB / 0.7561 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00336/0.466, allocations: 0.8293 MB / 0.7569 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4661, allocations: 0 / 0.7569 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.4661, allocations: 0 / 0.7569 GB, free: 4.602 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.0005844/0.4667, allocations: 362.5 kB / 0.7572 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4667, allocations: 8.031 kB / 0.7572 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.4668, allocations: 30.56 kB / 0.7573 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.4668, allocations: 11.84 kB / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.467, allocations: 178.9 kB / 0.7574 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.467, allocations: 0 / 0.7574 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.467, allocations: 4 kB / 0.7574 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4672, allocations: 45.69 kB / 0.7575 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4672, allocations: 0 / 0.7575 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4672, allocations: 0 / 0.7575 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.4672, allocations: 0 / 0.7575 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.4673, allocations: 27.98 kB / 0.7575 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.468, allocations: 300.8 kB / 0.7578 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4681, allocations: 38.58 kB / 0.7578 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.4682, allocations: 12.86 kB / 0.7578 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4682, allocations: 0 / 0.7578 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4683, allocations: 34.56 kB / 0.7579 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.4683, allocations: 0 / 0.7579 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002079/0.4685, allocations: 57.62 kB / 0.7579 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4686, allocations: 55.36 kB / 0.758 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.4687, allocations: 101 kB / 0.7581 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4687, allocations: 29.7 kB / 0.7581 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.4688, allocations: 88.12 kB / 0.7582 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.4688, allocations: 3.906 kB / 0.7582 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.4688, allocations: 0 / 0.7582 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4689, allocations: 318.8 kB / 0.7585 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-05/0.469, allocations: 8 kB / 0.7585 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.469, allocations: 8 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.4691, allocations: 11.98 kB / 0.7585 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4691, allocations: 8 kB / 0.7585 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001314/0.4692, allocations: 57.48 kB / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4693, allocations: 8 kB / 0.7586 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4693, allocations: 0 / 0.7586 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/0.4693, allocations: 4 kB / 0.7586 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.4696, allocations: 23.97 kB / 0.7586 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4696, allocations: 0 / 0.7586 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.4698, allocations: 27.88 kB / 0.7587 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4698, allocations: 0 / 0.7587 GB, free: 2.555 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 7.38e-05/0.4699, allocations: 101 kB / 0.7587 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4699, allocations: 4 kB / 0.7588 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.4699, allocations: 8.031 kB / 0.7588 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.47, allocations: 0 / 0.7588 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.47, allocations: 3.984 kB / 0.7588 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.47, allocations: 0 / 0.7588 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.4702, allocations: 173.6 kB / 0.7589 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4702, allocations: 0 / 0.7589 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4704, allocations: 19.98 kB / 0.7589 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4704, allocations: 0 / 0.7589 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4704, allocations: 0 / 0.7589 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4705, allocations: 4.312 kB / 0.759 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4705, allocations: 3.984 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.4707, allocations: 159.5 kB / 0.7591 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.4707, allocations: 81.09 kB / 0.7592 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.4707, allocations: 0 / 0.7592 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.4709, allocations: 19.98 kB / 0.7592 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.471, allocations: 4 kB / 0.7592 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.471, allocations: 3.984 kB / 0.7592 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.4711, allocations: 91.27 kB / 0.7593 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4711, allocations: 4 kB / 0.7593 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002649/0.4714, allocations: 4 kB / 0.7593 GB, free: 1.793 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.0005372/0.4719, allocations: 0.6907 MB / 0.76 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.4721, allocations: 27.94 kB / 0.76 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4721, allocations: 0 / 0.76 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.4722, allocations: 12 kB / 0.76 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4724, allocations: 11.98 kB / 0.76 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.4729, allocations: 94.58 kB / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4732, allocations: 0.6964 MB / 0.7608 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.4732, allocations: 4 kB / 0.7608 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.4733, allocations: 11.44 kB / 0.7608 GB, free: 164 kB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.4733, allocations: 0 / 0.7608 GB, free: 164 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.4969, allocations: 1.289 MB / 0.7621 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.4973, allocations: 160.8 kB / 0.7622 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.856, allocations: 0 / 0.7622 GB, free: 14.72 MB / 0.6511 GB