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.01075/0.01075, allocations: 221.7 kB / 15.17 MB, free: 5.93 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.001109/0.001109, allocations: 178 kB / 16.06 MB, free: 5.828 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.826/3.826, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.474/4.474, allocations: 472.3 MB / 0.9018 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004902, allocations: 12 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.6125, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001327/0.6138, allocations: 1.041 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.6142, allocations: 136.1 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.6142, allocations: 3.5 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.6142, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.6143, allocations: 3.312 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.6144, allocations: 10.27 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.6145, allocations: 23.78 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.191e-05/0.6146, allocations: 6.547 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.6146, allocations: 13.89 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.6147, allocations: 7.75 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.6147, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-06/0.6147, allocations: 7.219 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.6148, allocations: 8.469 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.6148, allocations: 34.88 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 4.766e-05/0.6148, allocations: 10.84 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6149, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.696e-06/0.6149, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.712e-06/0.6149, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 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.0003424/0.6152, allocations: 333.6 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6153, allocations: 9.469 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.6153, allocations: 1.344 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.6154, allocations: 175.6 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.6154, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.6154, allocations: 2.312 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.6156, allocations: 60.59 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.192e-06/0.6157, allocations: 2.531 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-06/0.6157, allocations: 3.938 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.825e-06/0.6157, allocations: 1 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.6159, allocations: 46.84 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.6162, allocations: 254.6 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.6164, allocations: 46.16 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.6166, allocations: 32.09 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.6166, allocations: 0 / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.6166, allocations: 38 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.799e-06/0.6167, allocations: 3.719 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0004062/0.6171, allocations: 96.56 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.6171, allocations: 52.72 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.6172, allocations: 105.2 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.121e-06/0.6172, allocations: 25.7 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.6172, allocations: 85.89 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.6173, allocations: 10.75 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.6173, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.6173, allocations: 317.4 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.6174, allocations: 17.41 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.6176, allocations: 33.03 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.6177, allocations: 25.41 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.921e-06/0.6177, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002499/0.618, allocations: 81.98 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.618, allocations: 4.688 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.618, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.618, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.6181, allocations: 19.66 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.875e-06/0.6182, allocations: 3.562 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.6182, allocations: 18.36 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-06/0.6183, allocations: 0.6562 kB / 1.107 GB, free: 210.4 MB / 0.7292 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 5.932e-05/0.6183, allocations: 113.3 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.6184, allocations: 2.438 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.6184, allocations: 7.328 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-06/0.6184, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-06/0.6184, allocations: 0.9844 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-06/0.6184, allocations: 1.219 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.6186, allocations: 166.6 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-06/0.6186, allocations: 0 / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.983e-05/0.6187, allocations: 18.14 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.919e-06/0.6187, allocations: 0 / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-06/0.6187, allocations: 1.359 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6187, allocations: 0 / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6188, allocations: 3.469 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.619, allocations: 174.5 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.6191, allocations: 81.89 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6191, allocations: 2.031 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.6192, allocations: 10 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.6193, allocations: 9.016 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.6193, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.6193, allocations: 82.62 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.45e-07/0.6194, allocations: 3.062 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000305/0.6197, allocations: 9.375 kB / 1.108 GB, free: 209.8 MB / 0.7292 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 9.067e-05/0.6198, allocations: 107 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.62, allocations: 48.47 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6201, allocations: 3.125 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.6202, allocations: 29.97 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.6205, allocations: 4.609 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.6208, allocations: 108.9 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.6209, allocations: 0.6817 MB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.895e-05/0.621, allocations: 5.531 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.621, allocations: 8.531 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.297e-06/0.621, allocations: 0 / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.002799/0.6239, allocations: 0.4914 MB / 1.109 GB, free: 208.9 MB / 0.7292 GB