Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.634/2.634, allocations: 287.9 MB / 302.9 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 177.2 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.6301 GB, free: 10.36 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 86.62 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 12.12 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1666, allocations: 115.2 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0006439/0.1673, allocations: 352.2 kB / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.1681, allocations: 0.8143 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.1682, allocations: 0 / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.1682, allocations: 0 / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.1682, allocations: 4 kB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.1684, allocations: 11.94 kB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.1684, allocations: 23.91 kB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.409e-05/0.1685, allocations: 0 / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.1686, allocations: 11.98 kB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.1686, allocations: 15.92 kB / 0.9799 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1686, allocations: 0 / 0.9799 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-06/0.1687, allocations: 4 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.1687, allocations: 3.984 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.1687, allocations: 29.7 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.624e-05/0.1688, allocations: 15.91 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.39e-06/0.1688, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.958e-06/0.1688, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.982e-06/0.1688, allocations: 0 / 0.98 GB, free: 26.86 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.0003423/0.1692, allocations: 344.9 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1692, allocations: 12.03 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1692, allocations: 0 / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.426e-05/0.1693, allocations: 171 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1694, allocations: 4 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.1694, allocations: 3.938 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1696, allocations: 53.67 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.147e-06/0.1696, allocations: 0 / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1696, allocations: 4 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-06/0.1696, allocations: 4 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.1698, allocations: 51.89 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.1701, allocations: 248.9 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1703, allocations: 54.48 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1703, allocations: 0 / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.1704, allocations: 34.56 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.787e-06/0.1704, allocations: 0 / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004144/0.1708, allocations: 101.7 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.1708, allocations: 51.41 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.1709, allocations: 105.7 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1709, allocations: 29.7 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.171, allocations: 92.2 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.171, allocations: 0 / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-06/0.171, allocations: 0 / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.1711, allocations: 314.8 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1712, allocations: 23.98 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.1713, allocations: 31.97 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1714, allocations: 15.98 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-06/0.1714, allocations: 0 / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002518/0.1717, allocations: 89.62 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1717, allocations: 5.562 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-06/0.1717, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1718, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1719, allocations: 15.98 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.694e-06/0.1719, allocations: 0 / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.172, allocations: 12.02 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.172, allocations: 0 / 0.9818 GB, free: 24.82 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 6.158e-05/0.1721, allocations: 117.7 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1721, allocations: 0 / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.1722, allocations: 11.06 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-06/0.1722, allocations: 8 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.105e-06/0.1722, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-06/0.1722, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1724, allocations: 161.6 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1724, allocations: 0 / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.1725, allocations: 15.98 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.1725, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-06/0.1725, allocations: 3.938 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.024e-06/0.1725, allocations: 7.984 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.995e-06/0.1725, allocations: 0 / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1728, allocations: 179.5 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.1729, allocations: 85.09 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1729, allocations: 0 / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.173, allocations: 4 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.1731, allocations: 15.92 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-06/0.1731, allocations: 4.031 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.1731, allocations: 79.28 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.61e-07/0.1731, allocations: 0 / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002994/0.1735, allocations: 4 kB / 0.9825 GB, free: 24.04 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 8.955e-05/0.1736, allocations: 103.2 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1738, allocations: 51.97 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1738, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.174, allocations: 27.97 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1742, allocations: 7.953 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1745, allocations: 118.8 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1746, allocations: 0.6809 MB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.1747, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1747, allocations: 11.44 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.356e-06/0.1747, allocations: 0 / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.002648/0.1774, allocations: 0.4891 MB / 0.9839 GB, free: 22.51 MB / 0.6198 GB