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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005713/0.005719, allocations: 232.7 kB / 15.82 MB, free: 6.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001619/0.001619, allocations: 174.2 kB / 16.7 MB, free: 5.457 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.91/3.91, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.247/4.247, allocations: 472.3 MB / 0.9024 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.0006528, allocations: 16.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.181, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7854/0.9665, allocations: 124.3 MB / 1.226 GB, free: 28.68 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.9668, allocations: 74.5 kB / 1.226 GB, free: 28.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002317/0.9691, allocations: 0.6711 MB / 1.227 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9692, allocations: 0 / 1.227 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.9692, allocations: 4 kB / 1.227 GB, free: 28.14 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.0003899/0.9696, allocations: 331.8 kB / 1.227 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9696, allocations: 8.031 kB / 1.227 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.9697, allocations: 9.312 kB / 1.227 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.9698, allocations: 175.1 kB / 1.227 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.9698, allocations: 0 / 1.227 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9698, allocations: 0 / 1.227 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.9701, allocations: 56.41 kB / 1.227 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9701, allocations: 0.9375 kB / 1.227 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9701, allocations: 9.094 kB / 1.227 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.9701, allocations: 0 / 1.227 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.9704, allocations: 41.62 kB / 1.227 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.9709, allocations: 268.6 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.9711, allocations: 42.97 kB / 1.228 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.9712, allocations: 28.41 kB / 1.228 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.9713, allocations: 0 / 1.228 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.9713, allocations: 38.34 kB / 1.228 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.9713, allocations: 0 / 1.228 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005207/0.9718, allocations: 96.47 kB / 1.228 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.9719, allocations: 58.34 kB / 1.228 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.972, allocations: 104.4 kB / 1.228 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.972, allocations: 29.64 kB / 1.228 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.9721, allocations: 81.69 kB / 1.228 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.9721, allocations: 7.891 kB / 1.228 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.9721, allocations: 6.953 kB / 1.228 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9722, allocations: 315.3 kB / 1.228 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.9724, allocations: 21.05 kB / 1.228 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.9725, allocations: 24.78 kB / 1.228 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.9727, allocations: 19.81 kB / 1.229 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9727, allocations: 0 / 1.229 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003284/0.973, allocations: 81.42 kB / 1.229 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.9731, allocations: 4 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.9731, allocations: 0.5625 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9731, allocations: 0 / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.9733, allocations: 13.62 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9733, allocations: 4.156 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.9734, allocations: 18.38 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.9734, allocations: 0 / 1.229 GB, free: 26.29 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 () * Number of clocked 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.254e-05/0.9735, allocations: 112.9 kB / 1.229 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.9735, allocations: 4 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.9739, allocations: 89.36 kB / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9739, allocations: 0 / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9739, allocations: 0 / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9739, allocations: 0.5156 kB / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.9741, allocations: 158.6 kB / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9741, allocations: 0 / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.9742, allocations: 16.95 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.9743, allocations: 0 / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.9743, allocations: 0 / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.9743, allocations: 4.562 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9743, allocations: 0 / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.9747, allocations: 178.9 kB / 1.229 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.9747, allocations: 77.62 kB / 1.229 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.9747, allocations: 0.6562 kB / 1.229 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.9749, allocations: 13.33 kB / 1.229 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.9749, allocations: 1.359 kB / 1.229 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.9749, allocations: 4.656 kB / 1.229 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006064/0.9755, allocations: 80.28 kB / 1.229 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9756, allocations: 0 / 1.229 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002955/0.9759, allocations: 4 kB / 1.229 GB, free: 41.54 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 () * Number of clocked 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.0001351/0.976, allocations: 103.9 kB / 1.229 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.9764, allocations: 53.08 kB / 1.229 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9764, allocations: 0 / 1.229 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.9765, allocations: 23.39 kB / 1.23 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.9769, allocations: 12.83 kB / 1.23 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.9772, allocations: 110.8 kB / 1.23 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.9775, allocations: 0.686 MB / 1.23 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.9776, allocations: 0.6562 kB / 1.23 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.9776, allocations: 7.438 kB / 1.23 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.9776, allocations: 0.75 kB / 1.23 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.002753/0.9804, allocations: 347.7 kB / 1.231 GB, free: 40.37 MB / 0.6355 GB