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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.15/2.15, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001464, allocations: 180.6 kB / 325.6 MB, free: 2.797 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.45/2.45, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001138/0.001138, allocations: 98.78 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004623, allocations: 15.36 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2374, allocations: 106.2 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2213/0.4587, allocations: 131.5 MB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.459, allocations: 67.95 kB / 1.027 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004212/0.4633, allocations: 0.9696 MB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4633, allocations: 3.938 kB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.4633, allocations: 0 / 1.028 GB, free: 12.67 MB / 0.6823 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.0006019/0.464, allocations: 361.1 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.464, allocations: 8.031 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.4641, allocations: 7.906 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4642, allocations: 167 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.4643, allocations: 4 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.4643, allocations: 7.984 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.4646, allocations: 73.64 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.4646, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4646, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4647, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.465, allocations: 67.89 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.4656, allocations: 284.8 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.466, allocations: 70.53 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.466, allocations: 3.984 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.466, allocations: 38.53 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.4661, allocations: 0 / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0006873/0.4668, allocations: 121.8 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.4668, allocations: 55.36 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4669, allocations: 101 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.467, allocations: 25.7 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.467, allocations: 96.05 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4671, allocations: 7.844 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.4671, allocations: 3.938 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4672, allocations: 322.8 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.4674, allocations: 23.98 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.4676, allocations: 35.91 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.4678, allocations: 31.92 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4678, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004415/0.4683, allocations: 97.64 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4683, allocations: 4 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4683, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4684, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4686, allocations: 15.98 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4686, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.4687, allocations: 19.84 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4688, allocations: 4 kB / 1.03 GB, free: 10.45 MB / 0.6823 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.0001066/0.4689, allocations: 113.8 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.4689, allocations: 3.984 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.469, allocations: 7.906 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.469, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.469, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.469, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.4692, allocations: 189.6 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4693, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4694, allocations: 15.98 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4694, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4695, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4695, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4695, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.47, allocations: 195.4 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.4701, allocations: 81.11 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4701, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.4703, allocations: 11.98 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.4704, allocations: 11.98 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.4704, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.4705, allocations: 99.2 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.144e-06/0.4705, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003058/0.4708, allocations: 15.94 kB / 1.031 GB, free: 9.609 MB / 0.6823 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.0001502/0.471, allocations: 95.62 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.4714, allocations: 75.92 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4714, allocations: 0 / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.4716, allocations: 35.97 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.4719, allocations: 7.953 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.4723, allocations: 149.4 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.4726, allocations: 0.6848 MB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.4727, allocations: 4 kB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.4728, allocations: 19.42 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.4728, allocations: 0 / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.003704/0.4765, allocations: 0.7406 MB / 1.033 GB, free: 7.75 MB / 0.6823 GB