Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadModel(Buildings): time 3.879/3.879, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.28e-05, allocations: 12 kB / 0.5325 GB, free: 1.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4916, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.6987, allocations: 123.6 MB / 0.7496 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.699, allocations: 75.89 kB / 0.7497 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002047/0.7011, allocations: 0.658 MB / 0.7503 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.417e-06/0.7011, allocations: 0 / 0.7503 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.044e-06/0.7011, allocations: 4 kB / 0.7503 GB, free: 3.223 MB / 0.6198 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.0003853/0.7015, allocations: 331.8 kB / 0.7507 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7015, allocations: 12.02 kB / 0.7507 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.7016, allocations: 0 / 0.7507 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.7017, allocations: 171 kB / 0.7508 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7018, allocations: 4 kB / 0.7508 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.7018, allocations: 3.984 kB / 0.7508 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.441e-05/0.7019, allocations: 11.98 kB / 0.7508 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.805e-05/0.702, allocations: 37.64 kB / 0.7509 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-06/0.702, allocations: 0 / 0.7509 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-06/0.702, allocations: 0 / 0.7509 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-06/0.702, allocations: 4 kB / 0.7509 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.7024, allocations: 253.4 kB / 0.7511 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.026e-05/0.7025, allocations: 22.58 kB / 0.7511 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.7026, allocations: 12.86 kB / 0.7512 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.7026, allocations: 0 / 0.7512 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.7026, allocations: 30.56 kB / 0.7512 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.956e-06/0.7027, allocations: 4 kB / 0.7512 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001644/0.7028, allocations: 49.55 kB / 0.7512 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.7029, allocations: 51.41 kB / 0.7513 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.703, allocations: 96.98 kB / 0.7514 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.703, allocations: 25.7 kB / 0.7514 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.7031, allocations: 80.14 kB / 0.7515 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.7031, allocations: 3.906 kB / 0.7515 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-06/0.7031, allocations: 0 / 0.7515 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7033, allocations: 322.8 kB / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.7033, allocations: 4.031 kB / 0.7518 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.7033, allocations: 8 kB / 0.7518 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.7034, allocations: 7.984 kB / 0.7518 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-06/0.7034, allocations: 0 / 0.7518 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.7035, allocations: 37.7 kB / 0.7518 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7035, allocations: 7.938 kB / 0.7519 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.7035, allocations: 4 kB / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7036, allocations: 3.938 kB / 0.7519 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7037, allocations: 16.08 kB / 0.7519 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.784e-06/0.7037, allocations: 0 / 0.7519 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.7038, allocations: 7.984 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-06/0.7038, allocations: 4 kB / 0.7519 GB, free: 1.43 MB / 0.6198 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 8.185e-05/0.7039, allocations: 104.9 kB / 0.752 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.7039, allocations: 0 / 0.752 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.7041, allocations: 49.44 kB / 0.752 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-06/0.7041, allocations: 4 kB / 0.752 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.593e-06/0.7041, allocations: 0 / 0.752 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7041, allocations: 0 / 0.752 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.7043, allocations: 138.2 kB / 0.7522 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-06/0.7043, allocations: 0 / 0.7522 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.7044, allocations: 11.98 kB / 0.7522 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7044, allocations: 3.938 kB / 0.7522 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-06/0.7044, allocations: 0 / 0.7522 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-06/0.7044, allocations: 0 / 0.7522 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-06/0.7045, allocations: 4.031 kB / 0.7522 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.7046, allocations: 143.4 kB / 0.7523 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.7047, allocations: 77.11 kB / 0.7524 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7047, allocations: 0 / 0.7524 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.7048, allocations: 15.98 kB / 0.7524 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.7049, allocations: 0 / 0.7524 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-06/0.7049, allocations: 7.969 kB / 0.7524 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.7049, allocations: 83.45 kB / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.96e-07/0.705, allocations: 0 / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002827/0.7052, allocations: 4 kB / 0.7525 GB, free: 0.7148 MB / 0.6198 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.0001388/0.7054, allocations: 102.5 kB / 0.7526 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.797e-05/0.7055, allocations: 19.92 kB / 0.7526 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.61e-06/0.7055, allocations: 0 / 0.7526 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.7056, allocations: 8.062 kB / 0.7526 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.7058, allocations: 9.625 kB / 0.7526 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.706, allocations: 63.83 kB / 0.7527 GB, free: 496 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.7064, allocations: 0.6768 MB / 0.7534 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.7064, allocations: 0 / 0.7534 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.7064, allocations: 15.44 kB / 0.7534 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.365e-06/0.7064, allocations: 0 / 0.7534 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.002328/0.7088, allocations: 328.4 kB / 0.7537 GB, free: 15.45 MB / 0.6355 GB