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.Integers.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadModel(Buildings): time 3.873/3.873, allocations: 433.4 MB / 440.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.99e-05, allocations: 5.281 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 98.72 MB / 0.6289 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.3553, allocations: 123.8 MB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3555, allocations: 67.95 kB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003621/0.3592, allocations: 0.9578 MB / 0.7509 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.216e-06/0.3592, allocations: 4 kB / 0.7509 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.326e-06/0.3592, allocations: 0 / 0.7509 GB, free: 12.02 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000461/0.3597, allocations: 350.4 kB / 0.7512 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3598, allocations: 16.02 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.3598, allocations: 7.859 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.36, allocations: 174.9 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.36, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3601, allocations: 4 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/0.3602, allocations: 27.92 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3603, allocations: 53.69 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.46e-06/0.3603, allocations: 0 / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3604, allocations: 0 / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-06/0.3604, allocations: 4 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.3608, allocations: 253.4 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.361, allocations: 58.5 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.3611, allocations: 12.89 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3611, allocations: 12 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3611, allocations: 30.56 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.146e-06/0.3611, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.3614, allocations: 57.73 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3614, allocations: 55.36 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.3615, allocations: 105 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3616, allocations: 25.7 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.3616, allocations: 88.14 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.3617, allocations: 7.812 kB / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-06/0.3617, allocations: 0 / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3618, allocations: 318.8 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.3619, allocations: 15.94 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.3619, allocations: 8 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.988e-05/0.362, allocations: 11.98 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-06/0.362, allocations: 4 kB / 0.7525 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001457/0.3622, allocations: 53.69 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3622, allocations: 5.562 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3622, allocations: 4 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3622, allocations: 3.938 kB / 0.7526 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3624, allocations: 11.98 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.735e-06/0.3624, allocations: 0 / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3625, allocations: 15.94 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3626, allocations: 12 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.3627, allocations: 101.2 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3627, allocations: 7.891 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.3627, allocations: 8.344 kB / 0.7527 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-06/0.3628, allocations: 3.938 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3628, allocations: 0 / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-06/0.3628, allocations: 3.984 kB / 0.7527 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.363, allocations: 150.2 kB / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.243e-06/0.363, allocations: 4 kB / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3631, allocations: 19.98 kB / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3632, allocations: 0 / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-06/0.3632, allocations: 0 / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-06/0.3632, allocations: 0 / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-06/0.3632, allocations: 0 / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3634, allocations: 159.5 kB / 0.753 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.3635, allocations: 84.95 kB / 0.7531 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3635, allocations: 4 kB / 0.7531 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3637, allocations: 11.98 kB / 0.7531 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.3637, allocations: 7.984 kB / 0.7531 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3638, allocations: 8 kB / 0.7532 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.3638, allocations: 87.2 kB / 0.7532 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.981e-06/0.3639, allocations: 0 / 0.7532 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003053/0.3642, allocations: 11.94 kB / 0.7532 GB, free: 9.305 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001741/0.3644, allocations: 103.2 kB / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.3645, allocations: 35.98 kB / 0.7534 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.3645, allocations: 0 / 0.7534 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.3646, allocations: 19.94 kB / 0.7534 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3648, allocations: 3.953 kB / 0.7534 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.3651, allocations: 79.86 kB / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3655, allocations: 0.6846 MB / 0.7541 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.677e-05/0.3656, allocations: 8 kB / 0.7542 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.3656, allocations: 11.42 kB / 0.7542 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of SimCode: time 1.335e-06/0.3656, allocations: 0 / 0.7542 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of Templates: time 0.003361/0.369, allocations: 0.6972 MB / 0.7548 GB, free: 7.609 MB / 0.6355 GB