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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01153/0.01153, allocations: 112.3 kB / 15.06 MB, free: 5.555 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.001397/0.001397, allocations: 181.2 kB / 15.95 MB, free: 5.52 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.046/2.046, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.363/2.363, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004942, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7031, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001645/0.7048, allocations: 1.03 MB / 0.6844 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.7052, allocations: 129.2 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.7053, allocations: 0 / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.7053, allocations: 0 / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/0.7054, allocations: 14.06 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.7055, allocations: 4.984 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.7056, allocations: 16.03 kB / 0.6846 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.7057, allocations: 11.67 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.7058, allocations: 4.891 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.7059, allocations: 16 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.7059, allocations: 5 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.7059, allocations: 1.094 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.7059, allocations: 2.578 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.706, allocations: 26.73 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.85e-05/0.706, allocations: 21.67 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.706, allocations: 0 / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7061, allocations: 0 / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7061, allocations: 4 kB / 0.6847 GB, free: 15.8 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.0004532/0.7065, allocations: 333.6 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7066, allocations: 13.25 kB / 0.685 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.7066, allocations: 35.69 kB / 0.6851 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.7067, allocations: 5.312 kB / 0.6851 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.7068, allocations: 165.8 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.7068, allocations: 1.281 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.7068, allocations: 5.344 kB / 0.6852 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.7071, allocations: 56.16 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7071, allocations: 0 / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.7071, allocations: 0.5156 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.7071, allocations: 1.562 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.7074, allocations: 47.67 kB / 0.6853 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.7078, allocations: 257.3 kB / 0.6856 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.708, allocations: 47.38 kB / 0.6856 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.7081, allocations: 1.062 kB / 0.6856 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.7081, allocations: 31.83 kB / 0.6857 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.7081, allocations: 9.609 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0005816/0.7087, allocations: 104 kB / 0.6858 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.7088, allocations: 52.44 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.7088, allocations: 105.9 kB / 0.6859 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.7089, allocations: 25.7 kB / 0.6859 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.7089, allocations: 85.45 kB / 0.686 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.7089, allocations: 10.52 kB / 0.686 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.709, allocations: 4.125 kB / 0.686 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.709, allocations: 312.2 kB / 0.6863 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.7092, allocations: 23.36 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.7094, allocations: 20.77 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.7095, allocations: 28.3 kB / 0.6864 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7096, allocations: 5.156 kB / 0.6864 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003558/0.7099, allocations: 81.44 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7099, allocations: 5.297 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.71, allocations: 5.594 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.71, allocations: 0.5156 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.7102, allocations: 11.3 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.7102, allocations: 1.125 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/0.7103, allocations: 12.19 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.7103, allocations: 1.953 kB / 0.6865 GB, free: 14.08 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 7.451e-05/0.7104, allocations: 115.7 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.7104, allocations: 5.656 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.7105, allocations: 5.078 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7105, allocations: 0 / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7105, allocations: 0.8438 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7105, allocations: 0.7031 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.7107, allocations: 160.7 kB / 0.6868 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7107, allocations: 0.7969 kB / 0.6868 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.7108, allocations: 15.89 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7108, allocations: 1.344 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.7109, allocations: 4.703 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.7109, allocations: 0 / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.7109, allocations: 1.25 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.7113, allocations: 178.5 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.7113, allocations: 79.14 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.7114, allocations: 4.656 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7115, allocations: 8.328 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.7116, allocations: 5.453 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.7116, allocations: 1.438 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.7116, allocations: 87.84 kB / 0.6872 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7116, allocations: 0 / 0.6872 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002775/0.7119, allocations: 8.469 kB / 0.6872 GB, free: 13.42 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 0.0006262/0.7126, allocations: 0.7134 MB / 0.6879 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.713, allocations: 51.48 kB / 0.6879 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.713, allocations: 0 / 0.6879 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.7132, allocations: 28.02 kB / 0.6879 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.7134, allocations: 3.328 kB / 0.6879 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.714, allocations: 136 kB / 0.6881 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.7141, allocations: 0.684 MB / 0.6887 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.7142, allocations: 1.875 kB / 0.6887 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.7142, allocations: 14.52 kB / 0.6888 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of SimCode: time 7.12e-07/0.7143, allocations: 3.938 kB / 0.6888 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.7331, allocations: 1.151 MB / 0.6899 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.7334, allocations: 197.9 kB / 0.6901 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.217, allocations: 0 / 0.6901 GB, free: 11.45 MB / 0.5261 GB