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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadModel(Buildings): time 4.08/4.08, allocations: 433.3 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.37e-05, allocations: 15.94 kB / 0.5325 GB, free: 1.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4934, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.6842, allocations: 123.5 MB / 0.7495 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.6845, allocations: 71.95 kB / 0.7496 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001929/0.6864, allocations: 0.623 MB / 0.7502 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.439e-06/0.6865, allocations: 0 / 0.7502 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.6865, allocations: 0 / 0.7502 GB, free: 3.371 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.0004113/0.6869, allocations: 338.4 kB / 0.7505 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.687, allocations: 8.031 kB / 0.7506 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.687, allocations: 0 / 0.7506 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.6872, allocations: 171 kB / 0.7507 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.6872, allocations: 0 / 0.7507 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.6872, allocations: 0 / 0.7507 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.925e-05/0.6873, allocations: 15.98 kB / 0.7507 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.876e-05/0.6874, allocations: 33.7 kB / 0.7508 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6874, allocations: 0 / 0.7508 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6874, allocations: 4 kB / 0.7508 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.6874, allocations: 0 / 0.7508 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.6879, allocations: 253.4 kB / 0.751 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.688, allocations: 26.58 kB / 0.751 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.688, allocations: 8.797 kB / 0.751 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.688, allocations: 8.062 kB / 0.7511 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.6881, allocations: 30.56 kB / 0.7511 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.087e-06/0.6881, allocations: 0 / 0.7511 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/0.6883, allocations: 41.61 kB / 0.7511 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.6883, allocations: 55.34 kB / 0.7512 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.6884, allocations: 96.98 kB / 0.7513 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.6884, allocations: 25.7 kB / 0.7513 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.6885, allocations: 88.14 kB / 0.7514 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.6885, allocations: 7.938 kB / 0.7514 GB, free: 2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-06/0.6886, allocations: 0 / 0.7514 GB, free: 2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6887, allocations: 314.8 kB / 0.7517 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.6888, allocations: 8 kB / 0.7517 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.6888, allocations: 4 kB / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.791e-05/0.6888, allocations: 0 / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-06/0.6888, allocations: 0 / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.6889, allocations: 45.69 kB / 0.7517 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.689, allocations: 12.03 kB / 0.7517 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.995e-06/0.689, allocations: 0 / 0.7517 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.689, allocations: 0 / 0.7517 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6891, allocations: 11.98 kB / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.607e-06/0.6891, allocations: 0 / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.6892, allocations: 8 kB / 0.7518 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-06/0.6892, allocations: 0 / 0.7518 GB, free: 1.59 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: 1 (lesThr.y) * 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 9.333e-05/0.6893, allocations: 112.9 kB / 0.7519 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.6894, allocations: 7.984 kB / 0.7519 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.6894, allocations: 7.75 kB / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-06/0.6894, allocations: 0 / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.694e-06/0.6894, allocations: 0 / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-06/0.6895, allocations: 0 / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.6897, allocations: 138.2 kB / 0.752 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-06/0.6897, allocations: 0 / 0.752 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.6898, allocations: 11.98 kB / 0.752 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.6898, allocations: 4 kB / 0.752 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.6898, allocations: 4 kB / 0.752 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.96e-06/0.6898, allocations: 0 / 0.752 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.597e-06/0.6898, allocations: 0 / 0.752 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.69, allocations: 139.4 kB / 0.7522 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.69, allocations: 85.05 kB / 0.7523 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.6901, allocations: 0 / 0.7523 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.6902, allocations: 16.27 kB / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.6902, allocations: 0 / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-06/0.6903, allocations: 11.88 kB / 0.7523 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.6903, allocations: 83.28 kB / 0.7524 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.42e-07/0.6903, allocations: 0 / 0.7524 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002815/0.6906, allocations: 4 kB / 0.7524 GB, free: 0.9023 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: 1 (lesThr.y) * 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.0001555/0.6908, allocations: 103.2 kB / 0.7525 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.6909, allocations: 16 kB / 0.7525 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.413e-06/0.6909, allocations: 0 / 0.7525 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.691, allocations: 8 kB / 0.7525 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.6912, allocations: 4 kB / 0.7525 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.6914, allocations: 59.89 kB / 0.7525 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.6918, allocations: 0.6807 MB / 0.7532 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.6919, allocations: 128 / 0.7532 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.6919, allocations: 15.38 kB / 0.7532 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of SimCode: time 1.469e-06/0.6919, allocations: 0 / 0.7532 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.002526/0.6944, allocations: 370.8 kB / 0.7536 GB, free: 15.6 MB / 0.6355 GB