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.004316/0.004315, allocations: 234.9 kB / 15.8 MB, free: 6.281 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.0012/0.0012, allocations: 184.2 kB / 16.69 MB, free: 5.449 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.563/3.563, allocations: 389.1 MB / 406.5 MB, free: 6.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.55/4.55, allocations: 472.3 MB / 0.9023 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005038, allocations: 12 kB / 1.008 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2247, allocations: 98.7 MB / 1.105 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001767/0.2265, allocations: 1.042 MB / 1.106 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004085/0.2269, allocations: 132.5 kB / 1.106 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.227, allocations: 0 / 1.106 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.227, allocations: 0 / 1.106 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.2271, allocations: 3.938 kB / 1.106 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.2272, allocations: 11.94 kB / 1.106 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.2273, allocations: 23.92 kB / 1.106 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.903e-05/0.2274, allocations: 4 kB / 1.106 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.2275, allocations: 15.97 kB / 1.106 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.2276, allocations: 11.92 kB / 1.106 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2276, allocations: 0 / 1.106 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.2276, allocations: 8 kB / 1.106 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.2276, allocations: 4 kB / 1.106 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2277, allocations: 25.7 kB / 1.106 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.182e-05/0.2277, allocations: 15.95 kB / 1.106 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2278, allocations: 0 / 1.106 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2278, allocations: 0 / 1.106 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2278, allocations: 0 / 1.106 GB, free: 2.562 MB / 0.7448 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.0005288/0.2283, allocations: 342.2 kB / 1.106 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.2284, allocations: 16.02 kB / 1.106 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.2284, allocations: 0 / 1.106 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.2286, allocations: 167.2 kB / 1.106 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2286, allocations: 3.938 kB / 1.106 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2287, allocations: 4 kB / 1.106 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.2289, allocations: 61.59 kB / 1.106 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.229, allocations: 4 kB / 1.106 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.229, allocations: 0 / 1.106 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.229, allocations: 0 / 1.106 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.2293, allocations: 51.95 kB / 1.106 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.2298, allocations: 260.8 kB / 1.107 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.23, allocations: 50.48 kB / 1.107 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.2302, allocations: 24.91 kB / 1.107 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2302, allocations: 8 kB / 1.107 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2302, allocations: 34.56 kB / 1.107 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 4.318e-06/0.2303, allocations: 0 / 1.107 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0005982/0.2309, allocations: 105.7 kB / 1.107 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2309, allocations: 51.41 kB / 1.107 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.231, allocations: 101.8 kB / 1.107 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.231, allocations: 25.7 kB / 1.107 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.2311, allocations: 80.14 kB / 1.107 GB, free: 1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2311, allocations: 15.84 kB / 1.107 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.2312, allocations: 0 / 1.107 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2313, allocations: 322.8 kB / 1.108 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2315, allocations: 23.98 kB / 1.108 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.2317, allocations: 15.98 kB / 1.108 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2318, allocations: 32.03 kB / 1.108 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2318, allocations: 0 / 1.108 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000358/0.2322, allocations: 73.66 kB / 1.108 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2322, allocations: 8 kB / 1.108 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2323, allocations: 4.031 kB / 1.108 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2323, allocations: 0 / 1.108 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2325, allocations: 15.98 kB / 1.108 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2325, allocations: 0 / 1.108 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2326, allocations: 8 kB / 1.108 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2327, allocations: 0 / 1.108 GB, free: 488 kB / 0.7448 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.0001057/0.2328, allocations: 125.7 kB / 1.108 GB, free: 352 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.2328, allocations: 4 kB / 1.108 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.2329, allocations: 3.125 kB / 1.108 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2329, allocations: 0 / 1.108 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2329, allocations: 0 / 1.108 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.2329, allocations: 81.02 kB / 1.108 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.233, allocations: 4 kB / 1.108 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.2331, allocations: 11.98 kB / 1.108 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.2332, allocations: 11.94 kB / 1.108 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004712/0.2337, allocations: 164.9 kB / 1.108 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004745/0.2342, allocations: 254.8 kB / 1.108 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001734/0.2343, allocations: 23.97 kB / 1.108 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.2344, allocations: 87.31 kB / 1.108 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of Backend: time 8.62e-07/0.2344, allocations: 0 / 1.108 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005542/0.235, allocations: 106.4 kB / 1.109 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of SimCode: time 0.0005879/0.2356, allocations: 0.5566 MB / 1.109 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of Templates: time 0.003413/0.239, allocations: 0.5623 MB / 1.11 GB, free: 14.39 MB / 0.7605 GB