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.246/2.246, allocations: 252.6 MB / 265.2 MB, free: 5.641 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.001458/0.001458, allocations: 173.8 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.5754 GB, free: 10.43 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.001183/0.001183, allocations: 94.08 kB / 0.6797 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.88e-05/4.906e-05, allocations: 12 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2167, allocations: 106.2 MB / 0.8949 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.121, allocations: 131.4 MB / 1.023 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.122, allocations: 76.25 kB / 1.023 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0042/1.126, allocations: 0.9664 MB / 1.024 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.126, allocations: 0 / 1.024 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.126, allocations: 0 / 1.024 GB, free: 2.059 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.0005318/1.127, allocations: 346.2 kB / 1.025 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.127, allocations: 12.03 kB / 1.025 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/1.127, allocations: 7.906 kB / 1.025 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.127, allocations: 167 kB / 1.025 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/1.127, allocations: 0 / 1.025 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/1.127, allocations: 7.5 kB / 1.025 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/1.127, allocations: 53.11 kB / 1.025 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.127, allocations: 7.875 kB / 1.025 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.127, allocations: 0 / 1.025 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.127, allocations: 3.984 kB / 1.025 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/1.127, allocations: 26.88 kB / 1.025 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/1.128, allocations: 284.8 kB / 1.025 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/1.128, allocations: 56.44 kB / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/1.128, allocations: 16.14 kB / 1.025 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/1.128, allocations: 0 / 1.025 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.128, allocations: 34.56 kB / 1.025 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/1.128, allocations: 4 kB / 1.025 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002493/1.129, allocations: 63.47 kB / 1.025 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/1.129, allocations: 55.36 kB / 1.025 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.129, allocations: 100.4 kB / 1.025 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/1.129, allocations: 29.14 kB / 1.025 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/1.129, allocations: 84.08 kB / 1.026 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/1.129, allocations: 19.55 kB / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/1.129, allocations: 3.938 kB / 1.026 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.129, allocations: 317.5 kB / 1.026 GB, free: 276 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/1.129, allocations: 14.75 kB / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/1.129, allocations: 7.5 kB / 1.026 GB, free: 264 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/1.129, allocations: 15.61 kB / 1.026 GB, free: 252 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.129, allocations: 0 / 1.026 GB, free: 252 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001644/1.129, allocations: 56.5 kB / 1.026 GB, free: 196 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/1.129, allocations: 5.562 kB / 1.026 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.129, allocations: 0 / 1.026 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.129, allocations: 0 / 1.026 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.13, allocations: 20.86 kB / 1.026 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.13, allocations: 0 / 1.026 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/1.13, allocations: 23.31 kB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/1.13, allocations: 0 / 1.026 GB, free: 152 kB / 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 8.768e-05/1.13, allocations: 108.9 kB / 1.026 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/1.13, allocations: 7.906 kB / 1.026 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/1.13, allocations: 11.52 kB / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.13, allocations: 0 / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.13, allocations: 8 kB / 1.026 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.13, allocations: 0 / 1.026 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/1.13, allocations: 175.7 kB / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.131, allocations: 0 / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/1.131, allocations: 15.98 kB / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.131, allocations: 3.984 kB / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.131, allocations: 0 / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.131, allocations: 0 / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.131, allocations: 0 / 1.026 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/1.131, allocations: 162 kB / 1.027 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/1.131, allocations: 84.95 kB / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/1.131, allocations: 7.984 kB / 1.027 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/1.132, allocations: 4 kB / 1.027 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.132, allocations: 11.55 kB / 1.027 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/1.132, allocations: 7.984 kB / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.665e-05/1.132, allocations: 87.27 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.092e-06/1.132, allocations: 0 / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006031/1.133, allocations: 12 kB / 1.027 GB, free: 15.39 MB / 0.6511 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.0002188/1.133, allocations: 104.1 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002079/1.133, allocations: 30.73 kB / 1.027 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.133, allocations: 0 / 1.027 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/1.133, allocations: 22.69 kB / 1.027 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/1.134, allocations: 19.31 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/1.134, allocations: 83.17 kB / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.134, allocations: 0.6848 MB / 1.028 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.346e-05/1.135, allocations: 4.25 kB / 1.028 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/1.135, allocations: 11.44 kB / 1.028 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/1.135, allocations: 0 / 1.028 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of Templates: time 0.00378/1.138, allocations: 0.7445 MB / 1.028 GB, free: 13.68 MB / 0.6511 GB