Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.599/2.599, allocations: 253.2 MB / 260.6 MB, free: 7.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003593/0.003593, allocations: 169.4 kB / 319.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.6 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 82.66 kB / 0.6751 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.086e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2304, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9933/1.224, allocations: 131.7 MB / 1.017 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.224, allocations: 76.31 kB / 1.017 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004184/1.228, allocations: 0.9469 MB / 1.018 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.228, allocations: 0 / 1.018 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.042e-05/1.228, allocations: 4 kB / 1.018 GB, free: 4.656 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.0005723/1.229, allocations: 354.1 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.229, allocations: 8.031 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/1.229, allocations: 12.88 kB / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/1.229, allocations: 167 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/1.229, allocations: 0 / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.229, allocations: 7.938 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001307/1.229, allocations: 29.23 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/1.23, allocations: 49.23 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.23, allocations: 0 / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.23, allocations: 3.984 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.23, allocations: 0 / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/1.23, allocations: 264.7 kB / 1.019 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/1.23, allocations: 49.06 kB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/1.23, allocations: 20.39 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/1.23, allocations: 0 / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.231, allocations: 34.56 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/1.231, allocations: 0 / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000234/1.231, allocations: 61.17 kB / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/1.231, allocations: 55.39 kB / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/1.231, allocations: 104 kB / 1.019 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.231, allocations: 25.7 kB / 1.019 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/1.231, allocations: 83.52 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.231, allocations: 15.8 kB / 1.02 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/1.231, allocations: 0 / 1.02 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003661/1.232, allocations: 318.4 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.232, allocations: 11.31 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.232, allocations: 7.125 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/1.232, allocations: 10.92 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.232, allocations: 8 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005525/1.233, allocations: 56.12 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.233, allocations: 4 kB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.233, allocations: 0 / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.233, allocations: 0 / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.233, allocations: 15.98 kB / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.233, allocations: 3.938 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/1.233, allocations: 15.11 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/1.234, allocations: 4 kB / 1.02 GB, free: 2.789 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 (intLesEquThr.u,intLesEquThr.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 0.0001352/1.234, allocations: 110.2 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/1.234, allocations: 7.906 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/1.234, allocations: 7.344 kB / 1.02 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.234, allocations: 0 / 1.02 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.234, allocations: 7.984 kB / 1.02 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.234, allocations: 0 / 1.02 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/1.234, allocations: 148.1 kB / 1.02 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.234, allocations: 0 / 1.02 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/1.235, allocations: 15.98 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.235, allocations: 4 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.235, allocations: 0 / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.235, allocations: 0 / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.235, allocations: 0 / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/1.235, allocations: 160.7 kB / 1.02 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/1.235, allocations: 81.25 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/1.235, allocations: 2.062 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/1.236, allocations: 18.98 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.236, allocations: 11.97 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/1.236, allocations: 6.812 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001704/1.236, allocations: 82.03 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/1.236, allocations: 4 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006494/1.237, allocations: 11.98 kB / 1.021 GB, free: 2.066 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 (intLesEquThr.u,intLesEquThr.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.0002525/1.237, allocations: 103.2 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002234/1.237, allocations: 37.3 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.237, allocations: 0 / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/1.238, allocations: 15 kB / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/1.238, allocations: 7.828 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/1.238, allocations: 88.62 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/1.239, allocations: 0.6846 MB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001974/1.239, allocations: 4 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/1.239, allocations: 15.42 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of SimCode: time 1.542e-06/1.24, allocations: 0 / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.006002/1.246, allocations: 0.7013 MB / 1.022 GB, free: 412 kB / 0.6355 GB