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.Cos.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.Cos,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.061/4.061, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-05/5.489e-05, allocations: 7.625 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 98.74 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.5014, allocations: 124.2 MB / 0.7561 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.5018, allocations: 71.95 kB / 0.7561 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002499/0.5043, allocations: 0.6688 MB / 0.7568 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5043, allocations: 0 / 0.7568 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.5043, allocations: 0 / 0.7568 GB, free: 4.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004385/0.5048, allocations: 334.5 kB / 0.7571 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5049, allocations: 8.031 kB / 0.7571 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.5049, allocations: 34.56 kB / 0.7571 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.505, allocations: 3.984 kB / 0.7571 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.5051, allocations: 171 kB / 0.7573 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.5051, allocations: 12 kB / 0.7573 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.5052, allocations: 0 / 0.7573 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.5053, allocations: 33.7 kB / 0.7573 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5053, allocations: 0 / 0.7573 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5053, allocations: 0 / 0.7573 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5053, allocations: 4 kB / 0.7573 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.5054, allocations: 11.98 kB / 0.7574 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.506, allocations: 268.9 kB / 0.7576 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.5061, allocations: 26.52 kB / 0.7576 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.5061, allocations: 16.92 kB / 0.7577 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.5062, allocations: 0 / 0.7577 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5062, allocations: 30.56 kB / 0.7577 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.5062, allocations: 0 / 0.7577 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001967/0.5064, allocations: 49.53 kB / 0.7577 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.5065, allocations: 55.36 kB / 0.7578 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.5066, allocations: 100.9 kB / 0.7579 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5066, allocations: 29.73 kB / 0.7579 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.5067, allocations: 80.14 kB / 0.758 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.5067, allocations: 7.891 kB / 0.758 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.5067, allocations: 4 kB / 0.758 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5068, allocations: 314.8 kB / 0.7583 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.5069, allocations: 3.938 kB / 0.7583 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.5069, allocations: 8 kB / 0.7583 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.507, allocations: 4 kB / 0.7583 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.507, allocations: 4.062 kB / 0.7583 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.5071, allocations: 41.7 kB / 0.7584 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5071, allocations: 7.984 kB / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5071, allocations: 0 / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5072, allocations: 0 / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.5073, allocations: 8 kB / 0.7584 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.5074, allocations: 3.938 kB / 0.7584 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.5075, allocations: 15.94 kB / 0.7584 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.5075, allocations: 4.031 kB / 0.7584 GB, free: 2.859 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 (2): * Single equations (assignments): 2 * 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.448e-05/0.5076, allocations: 101 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.5076, allocations: 4 kB / 0.7585 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.5078, allocations: 48.81 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5078, allocations: 0 / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5078, allocations: 0 / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5078, allocations: 0 / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.508, allocations: 161.6 kB / 0.7587 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.508, allocations: 4.031 kB / 0.7587 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5082, allocations: 15.98 kB / 0.7587 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5082, allocations: 0 / 0.7587 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5082, allocations: 192 / 0.7587 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5082, allocations: 0 / 0.7587 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5082, allocations: 3.938 kB / 0.7587 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.5084, allocations: 143.4 kB / 0.7589 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.5084, allocations: 89.12 kB / 0.7589 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.5085, allocations: 0 / 0.7589 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.5086, allocations: 8 kB / 0.7589 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.5087, allocations: 3.984 kB / 0.759 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.5087, allocations: 4 kB / 0.759 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.5087, allocations: 79.28 kB / 0.759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5088, allocations: 0 / 0.759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002663/0.509, allocations: 7.938 kB / 0.759 GB, free: 2.105 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 (2): * Single equations (assignments): 2 * 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.0004837/0.5095, allocations: 0.687 MB / 0.7597 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.5097, allocations: 16 kB / 0.7597 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5097, allocations: 3.938 kB / 0.7597 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.5097, allocations: 8 kB / 0.7597 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.51, allocations: 10.03 kB / 0.7597 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.5104, allocations: 82.64 kB / 0.7598 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.5107, allocations: 0.6809 MB / 0.7605 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.5108, allocations: 4 kB / 0.7605 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.5108, allocations: 11.42 kB / 0.7605 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.5108, allocations: 0 / 0.7605 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.5351, allocations: 1.001 MB / 0.7615 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.5355, allocations: 160.5 kB / 0.7616 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/2.984, allocations: 4.062 kB / 0.7616 GB, free: 15.35 MB / 0.6511 GB