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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 4.022/4.022, allocations: 432.7 MB / 445.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.15e-05, allocations: 5.328 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2297, allocations: 98.72 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.4579, allocations: 124.5 MB / 0.7563 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4581, allocations: 71.95 kB / 0.7564 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00373/0.4619, allocations: 0.9618 MB / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.842e-06/0.4619, allocations: 0 / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.4619, allocations: 0 / 0.7573 GB, free: 4.145 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.0004824/0.4624, allocations: 358.3 kB / 0.7577 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4625, allocations: 8.031 kB / 0.7577 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.4625, allocations: 7.906 kB / 0.7577 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.4627, allocations: 167 kB / 0.7578 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4627, allocations: 4 kB / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.4628, allocations: 0 / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4629, allocations: 53.67 kB / 0.7579 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4629, allocations: 0 / 0.7579 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.463, allocations: 8 kB / 0.7579 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-06/0.463, allocations: 4 kB / 0.7579 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.4631, allocations: 27.98 kB / 0.7579 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.4636, allocations: 280.8 kB / 0.7582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.4638, allocations: 50.56 kB / 0.7583 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.4638, allocations: 20.89 kB / 0.7583 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4639, allocations: 4 kB / 0.7583 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.4639, allocations: 34.69 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.335e-06/0.464, allocations: 0 / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002392/0.4642, allocations: 65.53 kB / 0.7584 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.4643, allocations: 55.36 kB / 0.7584 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.4644, allocations: 97 kB / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.4644, allocations: 25.7 kB / 0.7585 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.4645, allocations: 92.12 kB / 0.7586 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.4645, allocations: 19.69 kB / 0.7586 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.4645, allocations: 0 / 0.7586 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4647, allocations: 314.8 kB / 0.7589 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.4648, allocations: 12 kB / 0.759 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.4648, allocations: 15.98 kB / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.4649, allocations: 8.141 kB / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-06/0.4649, allocations: 0 / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001652/0.4651, allocations: 69.61 kB / 0.759 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4651, allocations: 4 kB / 0.7591 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4651, allocations: 4 kB / 0.7591 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4651, allocations: 0 / 0.7591 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4653, allocations: 15.98 kB / 0.7591 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4653, allocations: 0 / 0.7591 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4654, allocations: 19.88 kB / 0.7591 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.4655, allocations: 0 / 0.7591 GB, free: 2.125 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.483e-05/0.4656, allocations: 109 kB / 0.7592 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.4656, allocations: 11.89 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4657, allocations: 8.031 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-06/0.4657, allocations: 0 / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-06/0.4657, allocations: 0 / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-06/0.4657, allocations: 0 / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.466, allocations: 181.7 kB / 0.7594 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-06/0.466, allocations: 4 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4661, allocations: 11.98 kB / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.373e-06/0.4661, allocations: 0 / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4662, allocations: 4 kB / 0.7594 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.951e-06/0.4662, allocations: 7.938 kB / 0.7594 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-06/0.4662, allocations: 0 / 0.7594 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.4664, allocations: 155.5 kB / 0.7596 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.4665, allocations: 85 kB / 0.7596 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4665, allocations: 0 / 0.7596 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.4667, allocations: 11.98 kB / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.4668, allocations: 15.98 kB / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.457e-06/0.4668, allocations: 3.938 kB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.868e-05/0.4668, allocations: 87.58 kB / 0.7598 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.74e-07/0.4669, allocations: 0 / 0.7598 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003135/0.4672, allocations: 16 kB / 0.7598 GB, free: 1.336 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.0001551/0.4674, allocations: 107.2 kB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.4675, allocations: 27.94 kB / 0.7599 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.486e-06/0.4675, allocations: 8 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.4676, allocations: 19.98 kB / 0.7599 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4678, allocations: 7.953 kB / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.4682, allocations: 82.89 kB / 0.76 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4685, allocations: 0.6848 MB / 0.7607 GB, free: 352 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.384e-05/0.4686, allocations: 8.25 kB / 0.7607 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.4687, allocations: 15.42 kB / 0.7607 GB, free: 332 kB / 0.6355 GB Notification: Performance of SimCode: time 1.431e-06/0.4687, allocations: 3.938 kB / 0.7607 GB, free: 328 kB / 0.6355 GB Notification: Performance of Templates: time 0.003489/0.4722, allocations: 0.7446 MB / 0.7614 GB, free: 15.58 MB / 0.6511 GB