Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01566/0.01567, allocations: 89 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001902/0.001902, allocations: 176.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.256/2.256, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.423/2.423, allocations: 252.9 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004869, allocations: 16.81 kB / 0.6243 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001736/0.2268, allocations: 1.048 MB / 0.7291 GB, free: 9.094 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004245/0.2273, allocations: 130.2 kB / 0.7292 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.2273, allocations: 0 / 0.7292 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.2274, allocations: 0 / 0.7292 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.2274, allocations: 11.92 kB / 0.7292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.2276, allocations: 7.938 kB / 0.7292 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.2277, allocations: 19.97 kB / 0.7293 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.2278, allocations: 4 kB / 0.7293 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.2278, allocations: 11.98 kB / 0.7293 GB, free: 8.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.2279, allocations: 7.938 kB / 0.7293 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2279, allocations: 4 kB / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.228, allocations: 0 / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.228, allocations: 7.969 kB / 0.7293 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.228, allocations: 29.7 kB / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 5.675e-05/0.2281, allocations: 11.97 kB / 0.7293 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2281, allocations: 0 / 0.7293 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2281, allocations: 0 / 0.7293 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2281, allocations: 4 kB / 0.7293 GB, free: 8.84 MB / 0.5573 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.0005489/0.2287, allocations: 339.7 kB / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2287, allocations: 8.031 kB / 0.7297 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.2288, allocations: 34.5 kB / 0.7297 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.2288, allocations: 0 / 0.7297 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.229, allocations: 178.9 kB / 0.7299 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.229, allocations: 0 / 0.7299 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.229, allocations: 4 kB / 0.7299 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.2293, allocations: 57.67 kB / 0.7299 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2293, allocations: 0 / 0.7299 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2293, allocations: 0 / 0.7299 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2294, allocations: 3.938 kB / 0.7299 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.2297, allocations: 51.95 kB / 0.73 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.2301, allocations: 252.9 kB / 0.7302 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.2303, allocations: 46.56 kB / 0.7303 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2304, allocations: 0 / 0.7303 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2304, allocations: 34.55 kB / 0.7303 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 3.457e-06/0.2304, allocations: 0 / 0.7303 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0006127/0.2311, allocations: 109.6 kB / 0.7304 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.2311, allocations: 51.41 kB / 0.7305 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.2312, allocations: 105.8 kB / 0.7306 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2312, allocations: 25.7 kB / 0.7306 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.2313, allocations: 88.12 kB / 0.7307 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2313, allocations: 3.906 kB / 0.7307 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.2313, allocations: 4.125 kB / 0.7307 GB, free: 7.262 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2315, allocations: 314.8 kB / 0.731 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2316, allocations: 19.98 kB / 0.731 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.2318, allocations: 23.97 kB / 0.731 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.232, allocations: 28.05 kB / 0.7311 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.232, allocations: 0 / 0.7311 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003686/0.2324, allocations: 77.59 kB / 0.7311 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2324, allocations: 8.031 kB / 0.7311 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2324, allocations: 4 kB / 0.7311 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2324, allocations: 0 / 0.7311 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2326, allocations: 11.98 kB / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2326, allocations: 0 / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.2327, allocations: 15.94 kB / 0.7312 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2327, allocations: 4 kB / 0.7312 GB, free: 6.75 MB / 0.5573 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.000106/0.2329, allocations: 109.8 kB / 0.7313 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.2329, allocations: 0 / 0.7313 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.2329, allocations: 11.08 kB / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2329, allocations: 0 / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.233, allocations: 0 / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.233, allocations: 0 / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.2332, allocations: 165.6 kB / 0.7314 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2332, allocations: 192 / 0.7314 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2334, allocations: 11.98 kB / 0.7315 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2334, allocations: 8 kB / 0.7315 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2334, allocations: 3.984 kB / 0.7315 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2334, allocations: 4 kB / 0.7315 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2334, allocations: 0 / 0.7315 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.2339, allocations: 191.3 kB / 0.7317 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.2339, allocations: 77.11 kB / 0.7317 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2339, allocations: 3.938 kB / 0.7317 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2341, allocations: 15.92 kB / 0.7317 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2341, allocations: 3.984 kB / 0.7317 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2342, allocations: 0 / 0.7317 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.2342, allocations: 83.28 kB / 0.7318 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2342, allocations: 4.031 kB / 0.7318 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002836/0.2345, allocations: 4 kB / 0.7318 GB, free: 5.973 MB / 0.5573 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.0007378/0.2353, allocations: 0.7124 MB / 0.7325 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.2357, allocations: 51.89 kB / 0.7326 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.2357, allocations: 8.094 kB / 0.7326 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.2359, allocations: 23.98 kB / 0.7326 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2361, allocations: 0 / 0.7326 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.2367, allocations: 146.3 kB / 0.7327 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.237, allocations: 0.6849 MB / 0.7334 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.932e-05/0.237, allocations: 4 kB / 0.7334 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.2371, allocations: 7.438 kB / 0.7334 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/0.2371, allocations: 0 / 0.7334 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2549, allocations: 1.163 MB / 0.7346 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003998/0.2553, allocations: 200.3 kB / 0.7348 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.656, allocations: 3.938 kB / 0.7348 GB, free: 2.953 MB / 0.5573 GB