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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.237/4.237, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.482e-05, allocations: 8.156 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2306, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.4585, allocations: 124.2 MB / 0.756 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4589, allocations: 71.95 kB / 0.7561 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002911/0.4618, allocations: 0.7234 MB / 0.7568 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4618, allocations: 0 / 0.7568 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4619, allocations: 0 / 0.7568 GB, free: 4.688 MB / 0.6355 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.000481/0.4623, allocations: 334.5 kB / 0.7571 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4624, allocations: 16.03 kB / 0.7572 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.4625, allocations: 30.56 kB / 0.7572 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.4625, allocations: 0 / 0.7572 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4627, allocations: 175 kB / 0.7574 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.4627, allocations: 3.938 kB / 0.7574 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.4627, allocations: 3.984 kB / 0.7574 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4628, allocations: 41.69 kB / 0.7574 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4629, allocations: 0 / 0.7574 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4629, allocations: 0 / 0.7574 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4629, allocations: 0 / 0.7574 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.463, allocations: 16 kB / 0.7574 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.4634, allocations: 252.9 kB / 0.7577 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.4635, allocations: 30.52 kB / 0.7577 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.4636, allocations: 12.92 kB / 0.7577 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4636, allocations: 0 / 0.7577 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4637, allocations: 38.56 kB / 0.7577 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.4637, allocations: 3.938 kB / 0.7577 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001983/0.4639, allocations: 45.59 kB / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.4639, allocations: 55.36 kB / 0.7578 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.464, allocations: 100.9 kB / 0.7579 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4641, allocations: 25.7 kB / 0.758 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.4641, allocations: 84.14 kB / 0.758 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.4642, allocations: 11.88 kB / 0.758 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.4642, allocations: 4.031 kB / 0.7581 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4643, allocations: 314.8 kB / 0.7584 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.4643, allocations: 4 kB / 0.7584 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.4644, allocations: 4 kB / 0.7584 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.4644, allocations: 8 kB / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4644, allocations: 0 / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.4646, allocations: 45.69 kB / 0.7584 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4646, allocations: 10.5 kB / 0.7584 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.4646, allocations: 4.094 kB / 0.7584 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4646, allocations: 0 / 0.7584 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4648, allocations: 11.98 kB / 0.7584 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4648, allocations: 0 / 0.7584 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4649, allocations: 15.94 kB / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.465, allocations: 3.938 kB / 0.7585 GB, free: 2.797 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 () * 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 8.748e-05/0.4651, allocations: 104.9 kB / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.4651, allocations: 8 kB / 0.7586 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.4651, allocations: 7.125 kB / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4652, allocations: 0 / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4652, allocations: 0 / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4652, allocations: 0 / 0.7586 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.4654, allocations: 165.5 kB / 0.7587 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4654, allocations: 0 / 0.7587 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.4655, allocations: 15.98 kB / 0.7587 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4656, allocations: 0 / 0.7587 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.4656, allocations: 4 kB / 0.7587 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4656, allocations: 0 / 0.7587 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4656, allocations: 0 / 0.7587 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.4658, allocations: 143.5 kB / 0.7589 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.4658, allocations: 85.02 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.4659, allocations: 4 kB / 0.759 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.466, allocations: 11.92 kB / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.4661, allocations: 8.219 kB / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4661, allocations: 0 / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.4662, allocations: 91.25 kB / 0.7591 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4662, allocations: 0 / 0.7591 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000275/0.4665, allocations: 7.938 kB / 0.7591 GB, free: 2.066 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 () * 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.0005003/0.467, allocations: 0.6852 MB / 0.7598 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.4671, allocations: 19.94 kB / 0.7598 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4671, allocations: 1.844 kB / 0.7598 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.4672, allocations: 12 kB / 0.7598 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.4674, allocations: 3.984 kB / 0.7598 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.4679, allocations: 94.52 kB / 0.7599 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.4682, allocations: 0.685 MB / 0.7605 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.763e-05/0.4682, allocations: 0 / 0.7605 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.4683, allocations: 19.42 kB / 0.7606 GB, free: 472 kB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.4683, allocations: 0 / 0.7606 GB, free: 472 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4928, allocations: 1.159 MB / 0.7617 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/0.4932, allocations: 168.3 kB / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.677, allocations: 0 / 0.7619 GB, free: 15.16 MB / 0.6511 GB