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.01114/0.01114, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001165/0.001165, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 1.979/1.979, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.407/2.407, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006365/0.0006366, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.6562, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/0.9079, allocations: 124.3 MB / 0.8049 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.9083, allocations: 71.97 kB / 0.8049 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003544/0.9119, allocations: 0.7246 MB / 0.8056 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9119, allocations: 0 / 0.8056 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.912, allocations: 0 / 0.8056 GB, free: 1.145 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.0006214/0.9126, allocations: 351.3 kB / 0.806 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.9127, allocations: 16.03 kB / 0.806 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.9127, allocations: 30.56 kB / 0.806 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.9128, allocations: 0 / 0.806 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.913, allocations: 166.9 kB / 0.8062 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.913, allocations: 4 kB / 0.8062 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.913, allocations: 0 / 0.8062 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.9134, allocations: 61.59 kB / 0.8062 GB, free: 436 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9134, allocations: 4 kB / 0.8062 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.9134, allocations: 0 / 0.8062 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.9135, allocations: 7.984 kB / 0.8062 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.9139, allocations: 43.97 kB / 0.8063 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.9144, allocations: 252.9 kB / 0.8065 GB, free: 76 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.9147, allocations: 50.48 kB / 0.8066 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.9148, allocations: 0 / 0.8066 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.9148, allocations: 30.56 kB / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.9149, allocations: 0 / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0008039/0.9157, allocations: 101.7 kB / 0.8067 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.9157, allocations: 51.53 kB / 0.8068 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.9159, allocations: 104.9 kB / 0.8069 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.9159, allocations: 25.7 kB / 0.8069 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.916, allocations: 84.14 kB / 0.807 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.916, allocations: 11.89 kB / 0.807 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.9161, allocations: 0 / 0.807 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.9162, allocations: 314.8 kB / 0.8073 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.9165, allocations: 35.91 kB / 0.8073 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.9167, allocations: 15.98 kB / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.9169, allocations: 23.98 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9169, allocations: 3.938 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005262/0.9175, allocations: 81.72 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.9175, allocations: 5.562 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9175, allocations: 0 / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9176, allocations: 0 / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.9178, allocations: 11.98 kB / 0.8074 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.9178, allocations: 4.031 kB / 0.8074 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.918, allocations: 11.98 kB / 0.8075 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.918, allocations: 3.953 kB / 0.8075 GB, free: 15.05 MB / 0.6355 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.0001213/0.9181, allocations: 113.8 kB / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.9182, allocations: 0 / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.9182, allocations: 7.109 kB / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9183, allocations: 3.938 kB / 0.8076 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9183, allocations: 4 kB / 0.8076 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9183, allocations: 4 kB / 0.8076 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.9186, allocations: 157.6 kB / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9186, allocations: 0 / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.9188, allocations: 15.98 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.9188, allocations: 0 / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.9189, allocations: 0 / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9189, allocations: 0 / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9189, allocations: 4 kB / 0.8078 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.9195, allocations: 183.4 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.9196, allocations: 81.11 kB / 0.808 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.9196, allocations: 4 kB / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.9198, allocations: 12.02 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.9199, allocations: 4 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.9199, allocations: 0 / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.92, allocations: 87.27 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/0.92, allocations: 3.938 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00054/0.9206, allocations: 7.938 kB / 0.8081 GB, free: 14.28 MB / 0.6355 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.001018/0.9216, allocations: 0.7163 MB / 0.8088 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.9221, allocations: 51.98 kB / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9222, allocations: 0 / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.9224, allocations: 31.91 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.9228, allocations: 13.95 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.9236, allocations: 141.1 kB / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.924, allocations: 0.6809 MB / 0.8097 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.223e-05/0.9241, allocations: 0 / 0.8097 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.9241, allocations: 15.42 kB / 0.8097 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.9242, allocations: 4 kB / 0.8097 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.9461, allocations: 1.138 MB / 0.8108 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.9464, allocations: 208.3 kB / 0.811 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.196, allocations: 0 / 0.811 GB, free: 11.26 MB / 0.6355 GB