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.NumberOfRequests.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.NumberOfRequests,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.241/4.241, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.05e-05, allocations: 5.312 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 98.74 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.4524, allocations: 124.3 MB / 0.7562 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.4528, allocations: 71.95 kB / 0.7562 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008172/0.4609, allocations: 1.645 MB / 0.7578 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.461, allocations: 0 / 0.7578 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.461, allocations: 4 kB / 0.7579 GB, free: 3.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001089/0.4621, allocations: 479.9 kB / 0.7583 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/0.4622, allocations: 12.03 kB / 0.7583 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/0.4623, allocations: 46.48 kB / 0.7584 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4623, allocations: 7.906 kB / 0.7584 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.4626, allocations: 202.8 kB / 0.7586 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4627, allocations: 4 kB / 0.7586 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.4627, allocations: 12 kB / 0.7586 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.4631, allocations: 129.6 kB / 0.7587 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4631, allocations: 3.984 kB / 0.7587 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.4632, allocations: 8 kB / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.4632, allocations: 0 / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.4635, allocations: 87.92 kB / 0.7588 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.4648, allocations: 436.6 kB / 0.7592 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.4651, allocations: 106.6 kB / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.4653, allocations: 100.9 kB / 0.7594 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4654, allocations: 4 kB / 0.7594 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4654, allocations: 30.56 kB / 0.7594 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.397e-06/0.4654, allocations: 0 / 0.7594 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006194/0.4661, allocations: 231.2 kB / 0.7597 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.4661, allocations: 85.11 kB / 0.7597 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.4663, allocations: 127.8 kB / 0.7599 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.4663, allocations: 33.7 kB / 0.7599 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.4664, allocations: 100.1 kB / 0.76 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.4665, allocations: 23.69 kB / 0.76 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.4665, allocations: 0 / 0.76 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4667, allocations: 324.6 kB / 0.7603 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.4669, allocations: 71.98 kB / 0.7604 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.4671, allocations: 75.91 kB / 0.7605 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4672, allocations: 61.88 kB / 0.7605 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4672, allocations: 0 / 0.7605 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005252/0.4678, allocations: 231.1 kB / 0.7608 GB, free: 412 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.4678, allocations: 37.69 kB / 0.7608 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4679, allocations: 0 / 0.7608 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4679, allocations: 0 / 0.7608 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.4684, allocations: 55.91 kB / 0.7608 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4684, allocations: 0 / 0.7608 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.4688, allocations: 55.95 kB / 0.7609 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.4689, allocations: 4 kB / 0.7609 GB, free: 252 kB / 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: 1 (numReq1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001391/0.469, allocations: 146.6 kB / 0.761 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.4691, allocations: 7.906 kB / 0.761 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.4691, allocations: 12.62 kB / 0.7611 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4692, allocations: 0 / 0.7611 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4692, allocations: 7.953 kB / 0.7611 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4692, allocations: 3.984 kB / 0.7611 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.4695, allocations: 209.6 kB / 0.7613 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4695, allocations: 0 / 0.7613 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.47, allocations: 47.95 kB / 0.7613 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.47, allocations: 4 kB / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.47, allocations: 7.984 kB / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.47, allocations: 0 / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.47, allocations: 0 / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.4707, allocations: 321.1 kB / 0.7616 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.4707, allocations: 96.84 kB / 0.7617 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.4708, allocations: 8 kB / 0.7617 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/0.4713, allocations: 59.83 kB / 0.7618 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.4716, allocations: 79.89 kB / 0.7619 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.4717, allocations: 4 kB / 0.7619 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001169/0.4718, allocations: 109.7 kB / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4718, allocations: 4 kB / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003295/0.4721, allocations: 27.95 kB / 0.762 GB, free: 15.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001001/0.4732, allocations: 0.8626 MB / 0.7628 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005618/0.4737, allocations: 235.3 kB / 0.7631 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4738, allocations: 4 kB / 0.7631 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.4741, allocations: 163.4 kB / 0.7632 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.4745, allocations: 15.94 kB / 0.7632 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4755, allocations: 314.8 kB / 0.7635 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.4758, allocations: 0.7043 MB / 0.7642 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.476, allocations: 12.17 kB / 0.7642 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4761, allocations: 23.42 kB / 0.7643 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of SimCode: time 4.388e-06/0.4761, allocations: 4 kB / 0.7643 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.5075, allocations: 3.338 MB / 0.7675 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/0.5079, allocations: 173 kB / 0.7677 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.005, allocations: 0 / 0.7677 GB, free: 9.102 MB / 0.6511 GB