Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0146/0.0146, allocations: 111.6 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001881/0.00188, allocations: 179.9 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.201/2.201, allocations: 194.5 MB / 211.2 MB, free: 11.16 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.32/2.32, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004994, allocations: 16 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5427, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1817/0.7245, allocations: 124.6 MB / 0.805 GB, free: 1.719 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.7247, allocations: 75.89 kB / 0.8051 GB, free: 1.645 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 0.003686/0.7284, allocations: 0.9627 MB / 0.806 GB, free: 0.6758 MB / 0.6199 GB Notification: Performance of FrontEnd: time 3.141e-06/0.7285, allocations: 4 kB / 0.806 GB, free: 0.6719 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.7285, allocations: 0 / 0.806 GB, free: 0.6719 MB / 0.6199 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.0005023/0.729, allocations: 363.1 kB / 0.8064 GB, free: 276 kB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.7291, allocations: 8.031 kB / 0.8064 GB, free: 268 kB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.7291, allocations: 4 kB / 0.8064 GB, free: 264 kB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.7293, allocations: 171 kB / 0.8066 GB, free: 52 kB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7293, allocations: 11.98 kB / 0.8066 GB, free: 40 kB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.7294, allocations: 4 kB / 0.8066 GB, free: 36 kB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.7296, allocations: 65.72 kB / 0.8066 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7297, allocations: 0 / 0.8066 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.7297, allocations: 4 kB / 0.8066 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-06/0.7297, allocations: 3.938 kB / 0.8066 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.73, allocations: 67.89 kB / 0.8067 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.7305, allocations: 284.7 kB / 0.807 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.7308, allocations: 70.56 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.7308, allocations: 12.05 kB / 0.8071 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.7309, allocations: 34.56 kB / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.7309, allocations: 0 / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000541/0.7314, allocations: 121.7 kB / 0.8072 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7315, allocations: 59.36 kB / 0.8073 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7316, allocations: 101 kB / 0.8074 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.7317, allocations: 25.7 kB / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.7317, allocations: 88.05 kB / 0.8075 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.7318, allocations: 19.84 kB / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-06/0.7318, allocations: 0 / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.732, allocations: 314.8 kB / 0.8078 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.7321, allocations: 23.98 kB / 0.8078 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.7322, allocations: 35.97 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.7324, allocations: 23.98 kB / 0.8079 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.723e-06/0.7324, allocations: 0 / 0.8079 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003517/0.7328, allocations: 105.5 kB / 0.808 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7328, allocations: 4 kB / 0.808 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-06/0.7328, allocations: 4 kB / 0.808 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7328, allocations: 0 / 0.808 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.733, allocations: 11.98 kB / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.763e-06/0.733, allocations: 0 / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.7331, allocations: 15.94 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.7332, allocations: 4 kB / 0.808 GB, free: 14.44 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 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked 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 0.0001101/0.7333, allocations: 113.8 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.7333, allocations: 11.92 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.7334, allocations: 11.84 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-06/0.7334, allocations: 0 / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.874e-06/0.7334, allocations: 0 / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7334, allocations: 0 / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.7337, allocations: 177.6 kB / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-06/0.7337, allocations: 0 / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.7338, allocations: 19.98 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.254e-06/0.7339, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.7339, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.7339, allocations: 3.938 kB / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.7339, allocations: 0 / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.7343, allocations: 199.4 kB / 0.8085 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.7344, allocations: 77.11 kB / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.7344, allocations: 0 / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.7346, allocations: 15.98 kB / 0.8086 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.7347, allocations: 7.984 kB / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-06/0.7347, allocations: 0 / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.7348, allocations: 91.27 kB / 0.8087 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.87e-07/0.7348, allocations: 4 kB / 0.8087 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003202/0.7351, allocations: 8 kB / 0.8087 GB, free: 13.61 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 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked 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.0001541/0.7353, allocations: 103.6 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.7356, allocations: 75.86 kB / 0.8089 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.709e-06/0.7356, allocations: 4 kB / 0.8089 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.7358, allocations: 31.97 kB / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.736, allocations: 11.95 kB / 0.8089 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.7365, allocations: 144.6 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.7368, allocations: 0.6848 MB / 0.8097 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.852e-05/0.7369, allocations: 4 kB / 0.8097 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.7369, allocations: 15.42 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of SimCode: time 3.646e-06/0.737, allocations: 0 / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.003452/0.7404, allocations: 0.7402 MB / 0.8105 GB, free: 11.75 MB / 0.6355 GB