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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadModel(Buildings): time 3.891/3.891, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.797e-05, allocations: 8 kB / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5121, allocations: 98.73 MB / 0.629 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.6974, allocations: 123.5 MB / 0.7496 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.6976, allocations: 67.97 kB / 0.7496 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001885/0.6995, allocations: 0.6268 MB / 0.7502 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6996, allocations: 0 / 0.7502 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.315e-06/0.6996, allocations: 4 kB / 0.7502 GB, free: 3.375 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.0004112/0.7, allocations: 338.5 kB / 0.7506 GB, free: 3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7001, allocations: 12.02 kB / 0.7506 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.7001, allocations: 4 kB / 0.7506 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.7003, allocations: 167 kB / 0.7507 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.7003, allocations: 0 / 0.7507 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.7003, allocations: 0 / 0.7507 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.259e-05/0.7004, allocations: 12 kB / 0.7507 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.7005, allocations: 33.69 kB / 0.7508 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7005, allocations: 3.984 kB / 0.7508 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-06/0.7005, allocations: 0 / 0.7508 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.7005, allocations: 0 / 0.7508 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.701, allocations: 257.3 kB / 0.751 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.7011, allocations: 22.58 kB / 0.751 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.7011, allocations: 12.92 kB / 0.7511 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.7011, allocations: 0 / 0.7511 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.7012, allocations: 34.56 kB / 0.7511 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.098e-06/0.7012, allocations: 3.938 kB / 0.7511 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001572/0.7013, allocations: 41.69 kB / 0.7511 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.7014, allocations: 55.34 kB / 0.7512 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.7015, allocations: 97 kB / 0.7513 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.7015, allocations: 29.7 kB / 0.7513 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.7016, allocations: 80.14 kB / 0.7514 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.7016, allocations: 3.906 kB / 0.7514 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.7016, allocations: 4.031 kB / 0.7514 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7018, allocations: 322.8 kB / 0.7517 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.7018, allocations: 4 kB / 0.7517 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.7019, allocations: 8 kB / 0.7517 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.801e-05/0.7019, allocations: 0 / 0.7517 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7019, allocations: 0 / 0.7517 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/0.702, allocations: 41.7 kB / 0.7518 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.702, allocations: 4.625 kB / 0.7518 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.382e-06/0.7021, allocations: 0 / 0.7518 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.7021, allocations: 8.031 kB / 0.7518 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7022, allocations: 11.98 kB / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.231e-06/0.7022, allocations: 0 / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.7023, allocations: 11.98 kB / 0.7518 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.7023, allocations: 4 kB / 0.7518 GB, free: 1.582 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 (greThr.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 8.254e-05/0.7024, allocations: 108.9 kB / 0.7519 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.7025, allocations: 4 kB / 0.7519 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.7025, allocations: 3.75 kB / 0.7519 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.558e-06/0.7025, allocations: 4 kB / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.513e-06/0.7025, allocations: 0 / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.305e-06/0.7025, allocations: 0 / 0.7519 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.7027, allocations: 142.2 kB / 0.752 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-06/0.7027, allocations: 0 / 0.752 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.764e-05/0.7028, allocations: 11.98 kB / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.263e-06/0.7029, allocations: 0 / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.29e-06/0.7029, allocations: 4 kB / 0.7521 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-06/0.7029, allocations: 0 / 0.7521 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.323e-06/0.7029, allocations: 0 / 0.7521 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.7031, allocations: 143.4 kB / 0.7522 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.7031, allocations: 81.05 kB / 0.7523 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7031, allocations: 3.984 kB / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.7033, allocations: 12.03 kB / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.7033, allocations: 7.984 kB / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-06/0.7034, allocations: 3.938 kB / 0.7523 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.7034, allocations: 79.53 kB / 0.7524 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.66e-07/0.7034, allocations: 0 / 0.7524 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000281/0.7037, allocations: 7.938 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 (greThr.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.0001456/0.7039, allocations: 99.25 kB / 0.7525 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.812e-05/0.704, allocations: 16 kB / 0.7525 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.556e-06/0.704, allocations: 0 / 0.7525 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.704, allocations: 8 kB / 0.7525 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.7043, allocations: 8.172 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.0002128/0.7045, allocations: 59.91 kB / 0.7526 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.7049, allocations: 0.6846 MB / 0.7532 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.7049, allocations: 0 / 0.7532 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.7049, allocations: 15.5 kB / 0.7532 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of SimCode: time 1.358e-06/0.705, allocations: 0 / 0.7532 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.002589/0.7076, allocations: 381.1 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB