Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.81/3.81, allocations: 433.3 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.886e-05, allocations: 7.922 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5892, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.7855, allocations: 123.6 MB / 0.7496 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.7858, allocations: 71.95 kB / 0.7497 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002452/0.7882, allocations: 0.7203 MB / 0.7504 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7883, allocations: 4 kB / 0.7504 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.7883, allocations: 0 / 0.7504 GB, free: 3.191 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.0004091/0.7887, allocations: 338.4 kB / 0.7507 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.7888, allocations: 12.03 kB / 0.7507 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.7888, allocations: 3.984 kB / 0.7507 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.789, allocations: 163 kB / 0.7509 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.789, allocations: 0 / 0.7509 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.789, allocations: 8 kB / 0.7509 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.331e-05/0.7891, allocations: 11.94 kB / 0.7509 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.7892, allocations: 45.67 kB / 0.7509 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-06/0.7892, allocations: 0 / 0.7509 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-06/0.7892, allocations: 0 / 0.7509 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-06/0.7893, allocations: 0 / 0.7509 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.7896, allocations: 229.5 kB / 0.7512 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.7897, allocations: 30.58 kB / 0.7512 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.7898, allocations: 8.922 kB / 0.7512 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.7898, allocations: 0 / 0.7512 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.7898, allocations: 42.44 kB / 0.7512 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.69e-06/0.7898, allocations: 0 / 0.7512 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.79, allocations: 49.59 kB / 0.7513 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.7901, allocations: 55.34 kB / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.7902, allocations: 93.03 kB / 0.7514 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7902, allocations: 25.7 kB / 0.7514 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.7903, allocations: 84.14 kB / 0.7515 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.7903, allocations: 7.984 kB / 0.7515 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-06/0.7903, allocations: 0 / 0.7515 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7905, allocations: 314.8 kB / 0.7518 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.7905, allocations: 8 kB / 0.7518 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.7905, allocations: 4 kB / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.7906, allocations: 8.062 kB / 0.7519 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-06/0.7906, allocations: 0 / 0.7519 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.7907, allocations: 53.53 kB / 0.7519 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7907, allocations: 4 kB / 0.7519 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.725e-06/0.7907, allocations: 4 kB / 0.7519 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.7908, allocations: 0 / 0.7519 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.7909, allocations: 11.98 kB / 0.7519 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.986e-06/0.7909, allocations: 0 / 0.7519 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.791, allocations: 16.02 kB / 0.7519 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-06/0.791, allocations: 0 / 0.7519 GB, free: 1.395 MB / 0.6198 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 () * 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.92e-05/0.7911, allocations: 104.9 kB / 0.752 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.7912, allocations: 0 / 0.752 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.7912, allocations: 7.75 kB / 0.752 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-06/0.7912, allocations: 0 / 0.752 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.409e-06/0.7912, allocations: 0 / 0.752 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-06/0.7912, allocations: 0 / 0.752 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.7914, allocations: 142.2 kB / 0.7522 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-06/0.7914, allocations: 4 kB / 0.7522 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.7915, allocations: 12 kB / 0.7522 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.16e-06/0.7916, allocations: 0 / 0.7522 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.7916, allocations: 7.984 kB / 0.7522 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-06/0.7916, allocations: 0 / 0.7522 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.7916, allocations: 0 / 0.7522 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.7918, allocations: 147.4 kB / 0.7523 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.654e-05/0.7918, allocations: 88.95 kB / 0.7524 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.7919, allocations: 0 / 0.7524 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.792, allocations: 8 kB / 0.7524 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.7921, allocations: 3.984 kB / 0.7524 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-06/0.7921, allocations: 0 / 0.7524 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.7921, allocations: 83.28 kB / 0.7525 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.85e-07/0.7922, allocations: 3.938 kB / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000307/0.7925, allocations: 11.98 kB / 0.7525 GB, free: 0.707 MB / 0.6198 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 () * 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.0001376/0.7926, allocations: 111.2 kB / 0.7526 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.7927, allocations: 12 kB / 0.7527 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-06/0.7927, allocations: 3.938 kB / 0.7527 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.7928, allocations: 12 kB / 0.7527 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.793, allocations: 7.922 kB / 0.7527 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.7932, allocations: 60.12 kB / 0.7527 GB, free: 480 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.7936, allocations: 0.6807 MB / 0.7534 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.7937, allocations: 4.328 kB / 0.7534 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.7937, allocations: 7.438 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.381e-06/0.7937, allocations: 0 / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.002709/0.7964, allocations: 490.3 kB / 0.7539 GB, free: 15.28 MB / 0.6355 GB