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/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.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.226/4.226, allocations: 433.2 MB / 440.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.948e-05, allocations: 9 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2395, allocations: 98.74 MB / 0.6289 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.4694, allocations: 123.6 MB / 0.7496 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.4698, allocations: 71.95 kB / 0.7497 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002371/0.4722, allocations: 0.6684 MB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4722, allocations: 0 / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4722, allocations: 0 / 0.7503 GB, free: 12.54 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.0004511/0.4727, allocations: 330.5 kB / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.4728, allocations: 12.03 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.4728, allocations: 15.89 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.473, allocations: 167.1 kB / 0.7508 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.473, allocations: 4 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.473, allocations: 0 / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.01e-05/0.4731, allocations: 4 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.675e-05/0.4732, allocations: 37.69 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4732, allocations: 4 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4733, allocations: 0 / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4733, allocations: 0 / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.4738, allocations: 249.4 kB / 0.7511 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.4739, allocations: 26.52 kB / 0.7511 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.4739, allocations: 8.922 kB / 0.7511 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.474, allocations: 0 / 0.7511 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.474, allocations: 30.56 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.474, allocations: 4 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.4742, allocations: 45.59 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.4742, allocations: 55.41 kB / 0.7513 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.4743, allocations: 96.98 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4744, allocations: 25.7 kB / 0.7514 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.4744, allocations: 80.14 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.4745, allocations: 7.844 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4745, allocations: 0 / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4746, allocations: 326.8 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.4747, allocations: 4 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.4747, allocations: 11.94 kB / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.4747, allocations: 4 kB / 0.7518 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4747, allocations: 0 / 0.7518 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.437e-05/0.4748, allocations: 37.7 kB / 0.7518 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4749, allocations: 5.562 kB / 0.7518 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4749, allocations: 0 / 0.7518 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4749, allocations: 3.984 kB / 0.7518 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4751, allocations: 16.09 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4751, allocations: 0 / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4752, allocations: 7.984 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4752, allocations: 0 / 0.7519 GB, free: 10.75 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.845e-05/0.4753, allocations: 112.9 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001019/0.4754, allocations: 45.62 kB / 0.752 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.4755, allocations: 0 / 0.752 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.4756, allocations: 57.38 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4756, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4756, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4757, allocations: 3.953 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.4758, allocations: 134.2 kB / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4758, allocations: 0 / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.476, allocations: 11.98 kB / 0.7522 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.476, allocations: 0 / 0.7522 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.476, allocations: 4.031 kB / 0.7522 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.476, allocations: 3.938 kB / 0.7522 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.476, allocations: 4 kB / 0.7522 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.4762, allocations: 135.5 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.4762, allocations: 77.11 kB / 0.7524 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.4763, allocations: 8 kB / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.4764, allocations: 8.031 kB / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4765, allocations: 3.984 kB / 0.7524 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4765, allocations: 4 kB / 0.7524 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.4765, allocations: 79.28 kB / 0.7525 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4766, allocations: 0 / 0.7525 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002793/0.4768, allocations: 4 kB / 0.7525 GB, free: 9.977 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.0004941/0.4773, allocations: 0.6773 MB / 0.7532 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.4775, allocations: 12 kB / 0.7532 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4775, allocations: 3.938 kB / 0.7532 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.4775, allocations: 8 kB / 0.7532 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4778, allocations: 7.984 kB / 0.7532 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.4782, allocations: 81.66 kB / 0.7533 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4785, allocations: 0.6847 MB / 0.754 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.4786, allocations: 7.984 kB / 0.754 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.4786, allocations: 7.438 kB / 0.754 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/0.4786, allocations: 0 / 0.754 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.5178, allocations: 0.703 MB / 0.7547 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.518, allocations: 137.8 kB / 0.7548 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.858, allocations: 0 / 0.7548 GB, free: 7.516 MB / 0.6355 GB