Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.49/1.49, allocations: 288.4 MB / 303.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 193.1 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006782/0.0006782, allocations: 102.7 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 15.72 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0007272/0.1563, allocations: 350.1 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008293/0.1572, allocations: 0.8166 MB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.1573, allocations: 0 / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.1573, allocations: 4 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.1573, allocations: 0 / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.1575, allocations: 19.91 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.1575, allocations: 15.98 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.1576, allocations: 8 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.1577, allocations: 15.86 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.1578, allocations: 8 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1578, allocations: 4 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.1578, allocations: 0 / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.1578, allocations: 11.91 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.1578, allocations: 33.7 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.913e-05/0.1579, allocations: 11.97 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1579, allocations: 3.984 kB / 0.9815 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1579, allocations: 0 / 0.9815 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1579, allocations: 0 / 0.9815 GB, free: 25.94 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.0003433/0.1583, allocations: 347.7 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1583, allocations: 8.031 kB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.1583, allocations: 34.73 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.1584, allocations: 4.938 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.238e-05/0.1584, allocations: 160.4 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1585, allocations: 384 / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1585, allocations: 8.312 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1587, allocations: 58.23 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1587, allocations: 3.938 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1587, allocations: 0 / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.1587, allocations: 3.984 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.1589, allocations: 51.97 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.1592, allocations: 248.9 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1593, allocations: 54.48 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.1594, allocations: 24.91 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1594, allocations: 0 / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.1595, allocations: 34.56 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1595, allocations: 0 / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003475/0.1598, allocations: 109.5 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1599, allocations: 55.39 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.1599, allocations: 101.8 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.1599, allocations: 29.83 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.1599, allocations: 80.14 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.16, allocations: 11.91 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.16, allocations: 0 / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.16, allocations: 314.8 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.1601, allocations: 27.92 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.1602, allocations: 19.98 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1603, allocations: 52.81 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1603, allocations: 3.938 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.1605, allocations: 85.66 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.1606, allocations: 4 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1606, allocations: 4 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1606, allocations: 0 / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1607, allocations: 16.02 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1607, allocations: 0 / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.1607, allocations: 7.984 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1608, allocations: 4 kB / 0.9833 GB, free: 23.78 MB / 0.6198 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 4.828e-05/0.1608, allocations: 117.8 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.1608, allocations: 0 / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.472e-05/0.1609, allocations: 7.125 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1609, allocations: 4 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1609, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1609, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.161, allocations: 169.6 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.161, allocations: 0 / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.1611, allocations: 11.98 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1611, allocations: 4 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1611, allocations: 7.875 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1611, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1611, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1613, allocations: 179.5 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.1613, allocations: 84.95 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.1614, allocations: 4.031 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.1614, allocations: 11.98 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1615, allocations: 7.984 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1615, allocations: 0 / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.753e-05/0.1615, allocations: 79.28 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1615, allocations: 0 / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001991/0.1617, allocations: 4 kB / 0.984 GB, free: 23.01 MB / 0.6198 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.0003378/0.1621, allocations: 0.7202 MB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1623, allocations: 51.98 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1623, allocations: 3.938 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.1624, allocations: 24.05 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1626, allocations: 8.062 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.163, allocations: 134.3 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.346e-05/0.1631, allocations: 0.677 MB / 0.9856 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.1631, allocations: 4 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.1631, allocations: 19.42 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.1631, allocations: 0 / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009544/0.1727, allocations: 1.158 MB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001128/0.1728, allocations: 204.9 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.596, allocations: 4 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)