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.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadModel(Buildings): time 3.842/3.842, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.862e-05, allocations: 12 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5479, allocations: 98.71 MB / 0.6289 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2609/0.8089, allocations: 123.5 MB / 0.7496 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.8091, allocations: 71.95 kB / 0.7496 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002784/0.8119, allocations: 0.8302 MB / 0.7504 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.217e-06/0.812, allocations: 4 kB / 0.7504 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.589e-06/0.812, allocations: 0 / 0.7504 GB, free: 3.043 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004688/0.8125, allocations: 358.4 kB / 0.7508 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8125, allocations: 12.02 kB / 0.7508 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.8126, allocations: 7.906 kB / 0.7508 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.8127, allocations: 175 kB / 0.751 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.8127, allocations: 4 kB / 0.751 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.8128, allocations: 0 / 0.751 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.8129, allocations: 23.98 kB / 0.751 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.813, allocations: 41.64 kB / 0.751 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.201e-06/0.813, allocations: 0 / 0.751 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-06/0.813, allocations: 0 / 0.751 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.99e-06/0.813, allocations: 3.984 kB / 0.751 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.8136, allocations: 281.4 kB / 0.7513 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.8137, allocations: 30.58 kB / 0.7513 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.8138, allocations: 16.86 kB / 0.7514 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.8138, allocations: 4 kB / 0.7514 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8138, allocations: 30.56 kB / 0.7514 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.092e-06/0.8138, allocations: 0 / 0.7514 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001936/0.814, allocations: 61.62 kB / 0.7514 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.8141, allocations: 51.41 kB / 0.7515 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.8142, allocations: 97 kB / 0.7516 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.8142, allocations: 25.7 kB / 0.7516 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.8143, allocations: 84.12 kB / 0.7517 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.8143, allocations: 15.91 kB / 0.7517 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-06/0.8143, allocations: 0 / 0.7517 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.8145, allocations: 314.8 kB / 0.752 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.8146, allocations: 8 kB / 0.752 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.8146, allocations: 8 kB / 0.752 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.8146, allocations: 11.98 kB / 0.752 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-06/0.8147, allocations: 0 / 0.752 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001272/0.8148, allocations: 53.55 kB / 0.7521 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.8148, allocations: 4 kB / 0.7521 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.343e-06/0.8148, allocations: 4 kB / 0.7521 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.8149, allocations: 3.938 kB / 0.7521 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.815, allocations: 23.97 kB / 0.7521 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.673e-06/0.815, allocations: 0 / 0.7521 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.8152, allocations: 15.98 kB / 0.7521 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.8152, allocations: 4 kB / 0.7521 GB, free: 1.105 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 (3): * Single equations (assignments): 3 * 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.168e-05/0.8153, allocations: 108.9 kB / 0.7522 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.8153, allocations: 0 / 0.7522 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.8155, allocations: 66.02 kB / 0.7523 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-06/0.8155, allocations: 240 / 0.7523 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.796e-06/0.8155, allocations: 0 / 0.7523 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.011e-06/0.8155, allocations: 7.922 kB / 0.7523 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.8157, allocations: 150.1 kB / 0.7525 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.8158, allocations: 0 / 0.7525 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.8159, allocations: 27.92 kB / 0.7525 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.503e-06/0.8159, allocations: 3.984 kB / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-06/0.8159, allocations: 0 / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8159, allocations: 0 / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.816, allocations: 0 / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.8161, allocations: 147.5 kB / 0.7526 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.8162, allocations: 77.11 kB / 0.7527 GB, free: 456 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.8162, allocations: 4 kB / 0.7527 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.8164, allocations: 19.98 kB / 0.7527 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.8164, allocations: 11.98 kB / 0.7527 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-06/0.8165, allocations: 0 / 0.7527 GB, free: 420 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.979e-05/0.8165, allocations: 79.59 kB / 0.7528 GB, free: 340 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7.8e-07/0.8165, allocations: 0 / 0.7528 GB, free: 340 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000297/0.8168, allocations: 15.84 kB / 0.7528 GB, free: 324 kB / 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 (3): * Single equations (assignments): 3 * 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.0001499/0.817, allocations: 110.5 kB / 0.7529 GB, free: 204 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.8171, allocations: 23.92 kB / 0.753 GB, free: 180 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.89e-06/0.8171, allocations: 0 / 0.753 GB, free: 180 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.8172, allocations: 12 kB / 0.753 GB, free: 168 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.8174, allocations: 11.95 kB / 0.753 GB, free: 156 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.8177, allocations: 71.88 kB / 0.753 GB, free: 60 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.8181, allocations: 0.6885 MB / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.8181, allocations: 0 / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.8182, allocations: 7.438 kB / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.34e-06/0.8182, allocations: 0 / 0.7537 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.00274/0.821, allocations: 0.489 MB / 0.7542 GB, free: 14.86 MB / 0.6355 GB