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.01546/0.01546, allocations: 106.9 kB / 15.06 MB, free: 5.562 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.001727/0.001726, allocations: 177.9 kB / 15.95 MB, free: 5.523 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.052/2.052, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.309/2.309, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004701, allocations: 12 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5447, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001321/0.546, allocations: 1.03 MB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000322/0.5464, allocations: 140.4 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.5464, allocations: 0 / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.5465, allocations: 0 / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.5465, allocations: 4.969 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.5467, allocations: 6.859 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.5467, allocations: 19.17 kB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.5468, allocations: 3.625 kB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.5469, allocations: 9.266 kB / 0.6845 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.547, allocations: 15.14 kB / 0.6845 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.547, allocations: 5.031 kB / 0.6845 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.547, allocations: 4.906 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.547, allocations: 6.297 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.547, allocations: 26.73 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 5.697e-05/0.5471, allocations: 18.48 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.96e-06/0.5471, allocations: 0 / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.002e-06/0.5471, allocations: 0 / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.347e-06/0.5471, allocations: 1.219 kB / 0.6846 GB, free: 15.82 MB / 0.5261 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.0003733/0.5475, allocations: 330.6 kB / 0.6849 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5476, allocations: 9.969 kB / 0.6849 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.5476, allocations: 5.344 kB / 0.6849 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.586e-05/0.5477, allocations: 174.6 kB / 0.6851 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5477, allocations: 1.984 kB / 0.6851 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.5478, allocations: 0 / 0.6851 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.548, allocations: 64.17 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.974e-06/0.548, allocations: 3.938 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.548, allocations: 2.047 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-06/0.548, allocations: 0 / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.5483, allocations: 44.31 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.5486, allocations: 256.3 kB / 0.6855 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.5488, allocations: 44.38 kB / 0.6855 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.5488, allocations: 5.109 kB / 0.6855 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.5489, allocations: 39.16 kB / 0.6855 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.518e-06/0.5489, allocations: 5.031 kB / 0.6855 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004593/0.5493, allocations: 97.41 kB / 0.6856 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.5494, allocations: 56.19 kB / 0.6857 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.5494, allocations: 105.4 kB / 0.6858 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.5495, allocations: 25.7 kB / 0.6858 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.5495, allocations: 86.2 kB / 0.6859 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.5495, allocations: 5.609 kB / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-06/0.5495, allocations: 0 / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.5496, allocations: 317.5 kB / 0.6862 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.5497, allocations: 23.02 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5499, allocations: 24.38 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.55, allocations: 27.64 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-06/0.55, allocations: 0 / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002787/0.5503, allocations: 79.92 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5504, allocations: 9.531 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5504, allocations: 0.5156 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5504, allocations: 0 / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5505, allocations: 16.75 kB / 0.6864 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.779e-06/0.5505, allocations: 1.031 kB / 0.6864 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.5506, allocations: 8.312 kB / 0.6864 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5506, allocations: 4.703 kB / 0.6864 GB, free: 14.13 MB / 0.5261 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 6.198e-05/0.5507, allocations: 112.5 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.5508, allocations: 5.312 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.5508, allocations: 5.641 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-06/0.5508, allocations: 4 kB / 0.6865 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-06/0.5508, allocations: 1.375 kB / 0.6865 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5508, allocations: 0 / 0.6865 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.551, allocations: 160 kB / 0.6867 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.551, allocations: 2.156 kB / 0.6867 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.5511, allocations: 15.38 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.013e-06/0.5511, allocations: 4.594 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.5512, allocations: 0 / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.728e-06/0.5512, allocations: 1.438 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.291e-06/0.5512, allocations: 1.375 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.5515, allocations: 178 kB / 0.6869 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.5515, allocations: 79.55 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.5516, allocations: 4.031 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.5517, allocations: 9.094 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.5518, allocations: 9.453 kB / 0.687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-06/0.5518, allocations: 0.9375 kB / 0.687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.22e-05/0.5518, allocations: 84.11 kB / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.48e-07/0.5518, allocations: 0 / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002925/0.5521, allocations: 8.625 kB / 0.687 GB, free: 13.47 MB / 0.5261 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.504e-05/0.5522, allocations: 103.2 kB / 0.6871 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.5525, allocations: 51.48 kB / 0.6872 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5525, allocations: 0 / 0.6872 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5527, allocations: 32.17 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.553, allocations: 7.219 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.5533, allocations: 107.9 kB / 0.6873 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.5534, allocations: 0.6781 MB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.5535, allocations: 6.953 kB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.5535, allocations: 10.59 kB / 0.688 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.479e-06/0.5535, allocations: 0 / 0.688 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.002902/0.5565, allocations: 495.8 kB / 0.6885 GB, free: 12.48 MB / 0.5261 GB