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.009149/0.009149, allocations: 110.3 kB / 15.05 MB, free: 5.984 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.001184/0.001184, allocations: 181.6 kB / 15.94 MB, free: 5.941 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.031/2.031, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.189/2.189, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.000488, allocations: 12 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5515, allocations: 98.7 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.7742, allocations: 124.3 MB / 0.8048 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.7745, allocations: 67.97 kB / 0.8048 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00252/0.777, allocations: 0.7204 MB / 0.8055 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.812e-06/0.777, allocations: 7.922 kB / 0.8055 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.7771, allocations: 0 / 0.8055 GB, free: 1.051 MB / 0.6198 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.000448/0.7775, allocations: 351.2 kB / 0.8059 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7776, allocations: 12.03 kB / 0.8059 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.7776, allocations: 0 / 0.8059 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.7778, allocations: 163 kB / 0.806 GB, free: 460 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.7778, allocations: 4 kB / 0.806 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.7778, allocations: 0 / 0.806 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.778, allocations: 61.61 kB / 0.8061 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.7781, allocations: 0 / 0.8061 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.7781, allocations: 3.984 kB / 0.8061 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7781, allocations: 0 / 0.8061 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.7783, allocations: 47.97 kB / 0.8061 GB, free: 336 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.7787, allocations: 260.8 kB / 0.8064 GB, free: 24 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.7789, allocations: 50.48 kB / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.779, allocations: 0 / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.779, allocations: 34.56 kB / 0.8065 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.638e-06/0.779, allocations: 0 / 0.8065 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004741/0.7795, allocations: 97.7 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.7796, allocations: 55.53 kB / 0.8066 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.7797, allocations: 96.98 kB / 0.8067 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.7797, allocations: 25.7 kB / 0.8067 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.7798, allocations: 88.14 kB / 0.8068 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.7798, allocations: 3.906 kB / 0.8068 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-06/0.7798, allocations: 0 / 0.8068 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.78, allocations: 318.7 kB / 0.8071 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.7801, allocations: 31.97 kB / 0.8072 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7803, allocations: 15.98 kB / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.7804, allocations: 23.98 kB / 0.8072 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.7805, allocations: 4.062 kB / 0.8072 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003103/0.7808, allocations: 77.66 kB / 0.8073 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7808, allocations: 9.188 kB / 0.8073 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-06/0.7808, allocations: 0 / 0.8073 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7808, allocations: 0 / 0.8073 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.781, allocations: 16.02 kB / 0.8073 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.781, allocations: 0 / 0.8073 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.7811, allocations: 11.98 kB / 0.8073 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.7811, allocations: 4 kB / 0.8073 GB, free: 15.01 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: 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 0.0001091/0.7812, allocations: 113.8 kB / 0.8074 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.7813, allocations: 3.938 kB / 0.8074 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.7813, allocations: 3.125 kB / 0.8074 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.128e-06/0.7813, allocations: 4 kB / 0.8074 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.937e-06/0.7813, allocations: 7.922 kB / 0.8074 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.7813, allocations: 4 kB / 0.8075 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.7816, allocations: 161.8 kB / 0.8076 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-06/0.7816, allocations: 4 kB / 0.8076 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.7817, allocations: 11.98 kB / 0.8076 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.139e-06/0.7817, allocations: 3.984 kB / 0.8076 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-06/0.7817, allocations: 0 / 0.8076 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.132e-06/0.7817, allocations: 0 / 0.8076 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-06/0.7818, allocations: 4 kB / 0.8076 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.7821, allocations: 179.4 kB / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.7822, allocations: 81.09 kB / 0.8079 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.7822, allocations: 8.031 kB / 0.8079 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.7824, allocations: 4 kB / 0.8079 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.7824, allocations: 7.984 kB / 0.8079 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-06/0.7824, allocations: 0 / 0.8079 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.7825, allocations: 91.2 kB / 0.808 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-07/0.7825, allocations: 0 / 0.808 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003101/0.7828, allocations: 7.938 kB / 0.808 GB, free: 14.23 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: 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.0001531/0.783, allocations: 115.2 kB / 0.8081 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.7833, allocations: 47.95 kB / 0.8081 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.748e-06/0.7833, allocations: 0 / 0.8081 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.7835, allocations: 28.05 kB / 0.8082 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.7837, allocations: 7.953 kB / 0.8082 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.7841, allocations: 105 kB / 0.8083 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.7845, allocations: 0.6848 MB / 0.8089 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.7845, allocations: 8.062 kB / 0.809 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.7846, allocations: 7.438 kB / 0.809 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of SimCode: time 1.522e-06/0.7846, allocations: 0 / 0.809 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of Templates: time 0.00284/0.7874, allocations: 498 kB / 0.8094 GB, free: 12.69 MB / 0.6355 GB