Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Max") 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.273 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.001422/0.001422, allocations: 181 kB / 371.4 MB, free: 10.68 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.109/2.109, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.00107/0.00107, allocations: 96.41 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.00046, allocations: 13.12 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0008243/0.1572, allocations: 481.6 kB / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.1582, allocations: 0.8604 MB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.1583, allocations: 0 / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.1583, allocations: 3.938 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.913e-05/0.1584, allocations: 8 kB / 0.9801 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.1585, allocations: 35.89 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.1586, allocations: 47.88 kB / 0.9802 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.1587, allocations: 23.97 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.1588, allocations: 23.92 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.1589, allocations: 43.81 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.1589, allocations: 8 kB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.159, allocations: 4 kB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.159, allocations: 15.92 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.159, allocations: 29.7 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.1591, allocations: 55.84 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1591, allocations: 0 / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.161e-06/0.1592, allocations: 7.938 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.625e-06/0.1592, allocations: 0 / 0.9804 GB, free: 26.54 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005211/0.1597, allocations: 395.3 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1598, allocations: 12.02 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1598, allocations: 7.906 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1599, allocations: 182.8 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.16, allocations: 8 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.16, allocations: 8 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.1603, allocations: 113.6 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.432e-06/0.1604, allocations: 0 / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1604, allocations: 0 / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1604, allocations: 0 / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.1608, allocations: 123.8 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.1614, allocations: 348.6 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.1621, allocations: 134.5 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1622, allocations: 0 / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.1622, allocations: 34.56 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.066e-06/0.1622, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007935/0.163, allocations: 225.6 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.163, allocations: 51.41 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1631, allocations: 121.8 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1632, allocations: 29.7 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.1632, allocations: 92.12 kB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1633, allocations: 19.66 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-06/0.1633, allocations: 3.938 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.1633, allocations: 322.8 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.1636, allocations: 55.95 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.1638, allocations: 59.95 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.164, allocations: 51.95 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-06/0.164, allocations: 0 / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000505/0.1646, allocations: 157.5 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1646, allocations: 5.25 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.002e-06/0.1646, allocations: 7.984 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1646, allocations: 3.953 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1649, allocations: 27.97 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1649, allocations: 4 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.165, allocations: 19.92 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1651, allocations: 4 kB / 0.9829 GB, free: 23.75 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.808e-05/0.1652, allocations: 117.8 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.1652, allocations: 7.906 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005559/0.1658, allocations: 173.9 kB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1658, allocations: 7.938 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.654e-06/0.1658, allocations: 7.875 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.786e-06/0.1658, allocations: 4 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1661, allocations: 197.5 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-06/0.1661, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.1663, allocations: 35.91 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.969e-06/0.1663, allocations: 4 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1663, allocations: 0 / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1663, allocations: 0 / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.064e-06/0.1663, allocations: 3.953 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1669, allocations: 259.3 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.1669, allocations: 81.11 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.167, allocations: 7.984 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1672, allocations: 15.98 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.1673, allocations: 19.97 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1673, allocations: 11.95 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.1674, allocations: 91.27 kB / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1674, allocations: 0 / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003163/0.1677, allocations: 19.91 kB / 0.9839 GB, free: 22.61 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001098/0.1678, allocations: 107.2 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.1683, allocations: 127.9 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.313e-06/0.1683, allocations: 0 / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.1686, allocations: 72.75 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1689, allocations: 11.98 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.1693, allocations: 189.2 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.1695, allocations: 0.7004 MB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.386e-05/0.1696, allocations: 8.188 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.1697, allocations: 19.42 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of SimCode: time 1.6e-06/0.1697, allocations: 0 / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.004091/0.1738, allocations: 1.298 MB / 0.9864 GB, free: 20.02 MB / 0.6198 GB