Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.87/2.87, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.002519/0.002519, allocations: 173.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.08/2.08, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001021/0.00102, allocations: 94.64 kB / 0.7434 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 20.48 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1554, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0006853/0.1561, allocations: 397.7 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1577, allocations: 1.302 MB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.1578, allocations: 0 / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1582, allocations: 183.7 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1584, allocations: 107.7 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.1591, allocations: 198.8 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.1595, allocations: 295.9 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.1595, allocations: 7.984 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1597, allocations: 183.7 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.16, allocations: 183.6 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.1601, allocations: 15.94 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.1603, allocations: 67.94 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.1606, allocations: 235.5 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.1607, allocations: 65.56 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1611, allocations: 351.5 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.809e-06/0.1611, allocations: 0 / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.955e-06/0.1611, allocations: 4 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.385e-06/0.1611, allocations: 4 kB / 0.9822 GB, free: 24.56 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007417/0.1619, allocations: 0.5137 MB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1619, allocations: 8.031 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.1621, allocations: 43.56 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.1626, allocations: 375.1 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1626, allocations: 8 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.1627, allocations: 20 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1631, allocations: 204 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.387e-06/0.1631, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1631, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-06/0.1631, allocations: 4 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1633, allocations: 107.9 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1638, allocations: 391 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.1643, allocations: 311.8 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.88e-06/0.1643, allocations: 4.062 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.1648, allocations: 287.2 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.544e-06/0.1648, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009356/0.1658, allocations: 0.4932 MB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1658, allocations: 110.8 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.1663, allocations: 400.5 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/0.1664, allocations: 41.69 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1665, allocations: 153.1 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.1666, allocations: 47.47 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.1666, allocations: 4 kB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.1667, allocations: 346.8 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1668, allocations: 79.95 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.1673, allocations: 464.1 kB / 0.9865 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1676, allocations: 127.8 kB / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.074e-06/0.1676, allocations: 0 / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005993/0.1682, allocations: 329 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1682, allocations: 4 kB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.174e-06/0.1682, allocations: 4.125 kB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.1683, allocations: 8 kB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1685, allocations: 31.92 kB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1685, allocations: 7.938 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/0.1693, allocations: 85.45 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.1694, allocations: 19.95 kB / 0.9871 GB, free: 19.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002427/0.1696, allocations: 197.2 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.1697, allocations: 31.86 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.1698, allocations: 33.89 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.328e-06/0.1698, allocations: 11.98 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.909e-06/0.1698, allocations: 0 / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.857e-06/0.1698, allocations: 0 / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.1701, allocations: 289.4 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.87e-06/0.1701, allocations: 0 / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.1701, allocations: 4 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.049e-06/0.1702, allocations: 0 / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.1702, allocations: 7.984 kB / 0.9876 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-06/0.1702, allocations: 0 / 0.9876 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.841e-06/0.1702, allocations: 7.938 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.1709, allocations: 459.3 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.171, allocations: 108.8 kB / 0.9882 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.171, allocations: 7.984 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1712, allocations: 4 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1712, allocations: 23.94 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.1713, allocations: 11.98 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000333/0.1716, allocations: 295 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.29e-07/0.1716, allocations: 0 / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005206/0.1722, allocations: 83.92 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000227/0.1724, allocations: 135 kB / 0.9887 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.1729, allocations: 259.8 kB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.324e-06/0.173, allocations: 0 / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1732, allocations: 147.8 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1735, allocations: 24.64 kB / 0.9891 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.1744, allocations: 0.586 MB / 0.9897 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1747, allocations: 0.7677 MB / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000186/0.1749, allocations: 49.94 kB / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.175, allocations: 31.42 kB / 0.9905 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of SimCode: time 1.454e-06/0.175, allocations: 3.938 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.01079/0.1858, allocations: 4.606 MB / 0.995 GB, free: 10.96 MB / 0.6198 GB