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.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadModel(Buildings): time 3.86/3.86, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.773e-05/4.788e-05, allocations: 12 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5193, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.7459, allocations: 123.5 MB / 0.7495 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.7461, allocations: 79.72 kB / 0.7496 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002808/0.749, allocations: 0.8264 MB / 0.7504 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.663e-06/0.749, allocations: 4 kB / 0.7504 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.749, allocations: 0 / 0.7504 GB, free: 3.148 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.000477/0.7495, allocations: 354.5 kB / 0.7508 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.7496, allocations: 16.02 kB / 0.7508 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.7496, allocations: 3.906 kB / 0.7508 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.7498, allocations: 171 kB / 0.751 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.7498, allocations: 0 / 0.751 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.7498, allocations: 4 kB / 0.751 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.714e-05/0.7499, allocations: 15.94 kB / 0.751 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.75, allocations: 49.69 kB / 0.751 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.92e-06/0.7501, allocations: 0 / 0.751 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.7501, allocations: 0 / 0.751 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-06/0.7501, allocations: 0 / 0.751 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.7507, allocations: 281.4 kB / 0.7513 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.7508, allocations: 34.58 kB / 0.7513 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.7508, allocations: 16.8 kB / 0.7513 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.7509, allocations: 0 / 0.7513 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.7509, allocations: 34.56 kB / 0.7514 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.989e-06/0.7509, allocations: 0 / 0.7514 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.7511, allocations: 49.69 kB / 0.7514 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7512, allocations: 55.41 kB / 0.7515 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.7513, allocations: 97 kB / 0.7516 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.7513, allocations: 25.7 kB / 0.7516 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.7514, allocations: 88.12 kB / 0.7517 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.7514, allocations: 7.906 kB / 0.7517 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-06/0.7514, allocations: 0 / 0.7517 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7516, allocations: 318.8 kB / 0.752 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.7516, allocations: 8 kB / 0.752 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.7517, allocations: 15.94 kB / 0.752 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.7517, allocations: 11.92 kB / 0.752 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-06/0.7517, allocations: 4 kB / 0.752 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001267/0.7519, allocations: 49.61 kB / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7519, allocations: 7.938 kB / 0.7521 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.627e-06/0.7519, allocations: 0 / 0.7521 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7519, allocations: 4 kB / 0.7521 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.7521, allocations: 19.97 kB / 0.7521 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.125e-06/0.7521, allocations: 4 kB / 0.7521 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.7522, allocations: 19.98 kB / 0.7521 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.7523, allocations: 4 kB / 0.7521 GB, free: 1.215 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.683e-05/0.7524, allocations: 104.9 kB / 0.7522 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.7524, allocations: 0 / 0.7522 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.7525, allocations: 12.53 kB / 0.7522 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.639e-06/0.7525, allocations: 11.97 kB / 0.7523 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-06/0.7525, allocations: 0 / 0.7523 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-06/0.7525, allocations: 0 / 0.7523 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.7527, allocations: 150.2 kB / 0.7524 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-06/0.7527, allocations: 0 / 0.7524 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.7529, allocations: 23.92 kB / 0.7524 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.099e-06/0.7529, allocations: 0 / 0.7524 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-06/0.7529, allocations: 0 / 0.7524 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-06/0.7529, allocations: 0 / 0.7524 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.398e-06/0.7529, allocations: 4 kB / 0.7524 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.7531, allocations: 151.4 kB / 0.7526 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.7532, allocations: 77.11 kB / 0.7526 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.7532, allocations: 3.984 kB / 0.7526 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.7534, allocations: 15.98 kB / 0.7527 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.7534, allocations: 12 kB / 0.7527 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.7534, allocations: 0 / 0.7527 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.384e-05/0.7535, allocations: 87.27 kB / 0.7528 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.49e-07/0.7535, allocations: 0 / 0.7528 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002881/0.7538, allocations: 11.94 kB / 0.7528 GB, free: 496 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.0001542/0.754, allocations: 99.25 kB / 0.7529 GB, free: 384 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.7541, allocations: 19.94 kB / 0.7529 GB, free: 364 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.282e-06/0.7541, allocations: 0 / 0.7529 GB, free: 364 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.7542, allocations: 20 kB / 0.7529 GB, free: 344 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.7544, allocations: 7.953 kB / 0.7529 GB, free: 336 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.7547, allocations: 79.7 kB / 0.753 GB, free: 232 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.7551, allocations: 0.6846 MB / 0.7536 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.7551, allocations: 0 / 0.7536 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.7552, allocations: 11.44 kB / 0.7537 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of SimCode: time 1.382e-06/0.7552, allocations: 0 / 0.7537 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.002726/0.7579, allocations: 498.8 kB / 0.7541 GB, free: 15.03 MB / 0.6355 GB