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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadModel(Buildings): time 3.873/3.873, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3e-05, allocations: 11.94 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4945, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.68, allocations: 123.5 MB / 0.7496 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.6803, allocations: 71.95 kB / 0.7496 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002926/0.6833, allocations: 0.8575 MB / 0.7505 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.173e-06/0.6833, allocations: 4 kB / 0.7505 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.047e-06/0.6833, allocations: 0 / 0.7505 GB, free: 3.121 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.0004696/0.6838, allocations: 358.5 kB / 0.7508 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6838, allocations: 12.02 kB / 0.7508 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.6839, allocations: 7.906 kB / 0.7508 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.684, allocations: 182.9 kB / 0.751 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6841, allocations: 0 / 0.751 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.6841, allocations: 0 / 0.751 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.6842, allocations: 20 kB / 0.751 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6843, allocations: 41.69 kB / 0.7511 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.637e-06/0.6843, allocations: 0 / 0.7511 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-06/0.6844, allocations: 0 / 0.7511 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-06/0.6844, allocations: 0 / 0.7511 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.6849, allocations: 297.3 kB / 0.7513 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.685, allocations: 30.58 kB / 0.7514 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.6851, allocations: 16.86 kB / 0.7514 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.6851, allocations: 4 kB / 0.7514 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6852, allocations: 30.56 kB / 0.7514 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.996e-06/0.6852, allocations: 0 / 0.7514 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.6854, allocations: 49.78 kB / 0.7515 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.6854, allocations: 55.41 kB / 0.7515 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.6855, allocations: 105.1 kB / 0.7516 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.6855, allocations: 25.7 kB / 0.7516 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.6856, allocations: 92.12 kB / 0.7517 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6857, allocations: 15.75 kB / 0.7518 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-06/0.6857, allocations: 0 / 0.7518 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6858, allocations: 322.8 kB / 0.7521 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.6859, allocations: 12 kB / 0.7521 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.6859, allocations: 8 kB / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.686, allocations: 8 kB / 0.7521 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-06/0.686, allocations: 0 / 0.7521 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001247/0.6861, allocations: 49.69 kB / 0.7521 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6861, allocations: 4 kB / 0.7521 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.345e-06/0.6862, allocations: 4 kB / 0.7521 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6862, allocations: 3.938 kB / 0.7521 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.6863, allocations: 19.98 kB / 0.7522 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.6864, allocations: 0 / 0.7522 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.6865, allocations: 19.92 kB / 0.7522 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.6865, allocations: 0 / 0.7522 GB, free: 1.16 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 9.036e-05/0.6866, allocations: 112.9 kB / 0.7523 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.6867, allocations: 8.094 kB / 0.7523 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.6867, allocations: 12.31 kB / 0.7523 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-06/0.6867, allocations: 4 kB / 0.7523 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-06/0.6867, allocations: 0 / 0.7523 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.409e-06/0.6867, allocations: 4 kB / 0.7523 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.6869, allocations: 150.2 kB / 0.7525 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-06/0.687, allocations: 0 / 0.7525 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.6871, allocations: 27.97 kB / 0.7525 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.113e-06/0.6871, allocations: 0 / 0.7525 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-06/0.6871, allocations: 0 / 0.7525 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6871, allocations: 0 / 0.7525 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-06/0.6871, allocations: 0 / 0.7525 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.6873, allocations: 147.5 kB / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.6874, allocations: 81.02 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.6874, allocations: 4 kB / 0.7527 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.6876, allocations: 19.92 kB / 0.7527 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.6876, allocations: 7.984 kB / 0.7527 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.522e-06/0.6877, allocations: 4 kB / 0.7527 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.6877, allocations: 91.59 kB / 0.7528 GB, free: 432 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7.34e-07/0.6877, allocations: 0 / 0.7528 GB, free: 432 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002858/0.688, allocations: 4 kB / 0.7528 GB, free: 428 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.0001359/0.6882, allocations: 104.2 kB / 0.7529 GB, free: 312 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.6883, allocations: 27.98 kB / 0.753 GB, free: 284 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-06/0.6883, allocations: 0 / 0.753 GB, free: 284 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.6884, allocations: 12 kB / 0.753 GB, free: 272 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.6886, allocations: 11.89 kB / 0.753 GB, free: 260 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.6889, allocations: 71.86 kB / 0.753 GB, free: 164 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.6893, allocations: 0.6885 MB / 0.7537 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.6893, allocations: 0 / 0.7537 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.6894, allocations: 7.438 kB / 0.7537 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.32e-06/0.6894, allocations: 0 / 0.7537 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.002768/0.6921, allocations: 0.5006 MB / 0.7542 GB, free: 14.95 MB / 0.6355 GB