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.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004153/0.004153, allocations: 232.5 kB / 15.82 MB, free: 6.293 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.00109/0.00109, allocations: 173.2 kB / 16.7 MB, free: 5.449 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 3.5/3.5, allocations: 389.1 MB / 406.5 MB, free: 6.812 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.673/4.673, allocations: 472.3 MB / 0.9024 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005084, allocations: 12 kB / 1.008 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 98.7 MB / 1.105 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8105/1.037, allocations: 124.3 MB / 1.226 GB, free: 199.9 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.038, allocations: 73.23 kB / 1.226 GB, free: 199.8 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.002715/1.04, allocations: 0.7312 MB / 1.227 GB, free: 199.3 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.564e-06/1.041, allocations: 0 / 1.227 GB, free: 199.3 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.041, allocations: 0 / 1.227 GB, free: 199.3 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004324/1.041, allocations: 344.3 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.041, allocations: 8.031 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/1.041, allocations: 0.9375 kB / 1.227 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/1.041, allocations: 171.3 kB / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/1.041, allocations: 0 / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/1.041, allocations: 3.547 kB / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/1.042, allocations: 63.17 kB / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.042, allocations: 0 / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/1.042, allocations: 0 / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.042, allocations: 0 / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/1.042, allocations: 48.88 kB / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/1.042, allocations: 261.7 kB / 1.228 GB, free: 198.4 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/1.043, allocations: 46.23 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/1.043, allocations: 32.36 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/1.043, allocations: 0 / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/1.043, allocations: 30.56 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/1.043, allocations: 0 / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0005803/1.043, allocations: 108.4 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/1.043, allocations: 56.91 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/1.044, allocations: 99.08 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/1.044, allocations: 28.52 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/1.044, allocations: 88.58 kB / 1.228 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/1.044, allocations: 5.938 kB / 1.228 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/1.044, allocations: 0 / 1.228 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.586e-05/1.044, allocations: 319.4 kB / 1.228 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/1.044, allocations: 18 kB / 1.228 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/1.044, allocations: 27.8 kB / 1.229 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/1.044, allocations: 24.83 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.044, allocations: 3.078 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004044/1.045, allocations: 74.59 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.045, allocations: 5.188 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.045, allocations: 0 / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.045, allocations: 4.984 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/1.045, allocations: 12.34 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.045, allocations: 1.547 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/1.045, allocations: 14.98 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.045, allocations: 4 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.456e-05/1.045, allocations: 112.5 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/1.045, allocations: 0 / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/1.045, allocations: 10.06 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.045, allocations: 2.688 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.045, allocations: 2.406 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.045, allocations: 2.016 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.045, allocations: 163 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.045, allocations: 0 / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/1.046, allocations: 13.14 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.046, allocations: 5.062 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.046, allocations: 1.781 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.046, allocations: 5.188 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.046, allocations: 0 / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/1.046, allocations: 184.8 kB / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/1.046, allocations: 78.19 kB / 1.229 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/1.046, allocations: 0 / 1.229 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.046, allocations: 10.58 kB / 1.229 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/1.046, allocations: 12.25 kB / 1.229 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/1.046, allocations: 0 / 1.229 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.618e-05/1.046, allocations: 80.55 kB / 1.229 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.81e-07/1.046, allocations: 0 / 1.229 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003136/1.047, allocations: 17.06 kB / 1.229 GB, free: 196.7 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001355/1.047, allocations: 113.3 kB / 1.229 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003773/1.047, allocations: 53.02 kB / 1.229 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.047, allocations: 0 / 1.229 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/1.047, allocations: 30 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/1.048, allocations: 7.609 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/1.048, allocations: 116.2 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/1.048, allocations: 0.6814 MB / 1.23 GB, free: 195.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 5.354e-05/1.049, allocations: 2.297 kB / 1.23 GB, free: 195.7 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/1.049, allocations: 12.25 kB / 1.23 GB, free: 195.7 MB / 0.7917 GB Notification: Performance of SimCode: time 1.102e-06/1.049, allocations: 0 / 1.23 GB, free: 195.7 MB / 0.7917 GB Notification: Performance of Templates: time 0.003432/1.052, allocations: 0.4919 MB / 1.231 GB, free: 195.5 MB / 0.7917 GB