Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.622/2.622, allocations: 287.9 MB / 302.9 MB, free: 8.211 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.00143/0.00143, allocations: 186.3 kB / 371.4 MB, free: 10.69 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.153/2.153, allocations: 205.4 MB / 0.6301 GB, free: 10.35 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.001008/0.001008, allocations: 88.91 kB / 0.7434 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 12.78 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.167, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0007817/0.1678, allocations: 458.8 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.168, allocations: 47.86 kB / 0.9793 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.009e-05/0.1681, allocations: 3.938 kB / 0.9793 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1682, allocations: 23.91 kB / 0.9793 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.1683, allocations: 11.98 kB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.1684, allocations: 26.03 kB / 0.9793 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1686, allocations: 79.84 kB / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1688, allocations: 123.2 kB / 0.9795 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.1688, allocations: 39.8 kB / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.1689, allocations: 39.72 kB / 0.9796 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1689, allocations: 4 kB / 0.9796 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.169, allocations: 0 / 0.9796 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.169, allocations: 39.84 kB / 0.9796 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1691, allocations: 49.58 kB / 0.9797 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1692, allocations: 171.6 kB / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.844e-06/0.1692, allocations: 0 / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.998e-06/0.1692, allocations: 0 / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.524e-06/0.1693, allocations: 0 / 0.9798 GB, free: 27.07 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004174/0.1697, allocations: 471.2 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1697, allocations: 12.02 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.1698, allocations: 23.72 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1701, allocations: 251.1 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1701, allocations: 12.36 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.1701, allocations: 16 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.1706, allocations: 332.6 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1706, allocations: 4 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.1707, allocations: 12 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.1707, allocations: 8.188 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.1711, allocations: 264.3 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1723, allocations: 1.073 MB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.1724, allocations: 173.1 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1724, allocations: 79.27 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1725, allocations: 109.8 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.705e-06/0.1725, allocations: 0 / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.1726, allocations: 53.42 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.1726, allocations: 134.6 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.1732, allocations: 0.4925 MB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-06/0.1732, allocations: 25.7 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1733, allocations: 167.8 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-06/0.1733, allocations: 4 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-06/0.1734, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.1734, allocations: 338.8 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.1735, allocations: 47.95 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.1736, allocations: 105.9 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1737, allocations: 55.95 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-06/0.1738, allocations: 4 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003255/0.1741, allocations: 181.2 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1741, allocations: 8 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1741, allocations: 0 / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1742, allocations: 4 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1743, allocations: 23.92 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.689e-06/0.1743, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1744, allocations: 43.86 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.1745, allocations: 12 kB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001382/0.1746, allocations: 247.3 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.1747, allocations: 128.6 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.1748, allocations: 134.8 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.1748, allocations: 184.2 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.131e-05/0.1749, allocations: 184.3 kB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.1749, allocations: 180.2 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.1752, allocations: 494 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.1752, allocations: 105 kB / 0.9858 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.1752, allocations: 108.9 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.823e-05/0.1753, allocations: 176.3 kB / 0.9861 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1753, allocations: 188.2 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.702e-05/0.1753, allocations: 180.2 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.941e-05/0.1754, allocations: 184.2 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1755, allocations: 331.7 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1756, allocations: 237.7 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.1757, allocations: 184.2 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1758, allocations: 109 kB / 0.9874 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1759, allocations: 180.2 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1759, allocations: 101 kB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003814/0.1763, allocations: 363 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.43e-07/0.1763, allocations: 4 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003643/0.1767, allocations: 32 kB / 0.9881 GB, free: 18.16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001089/0.1768, allocations: 170.5 kB / 0.9882 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.177, allocations: 63.89 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.155e-06/0.177, allocations: 0 / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.683e-06/0.177, allocations: 7.875 kB / 0.9883 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1774, allocations: 0.5512 MB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.178, allocations: 492.8 kB / 0.9893 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1782, allocations: 0.783 MB / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.1784, allocations: 45.53 kB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.1784, allocations: 15.44 kB / 0.9901 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.319e-06/0.1784, allocations: 0 / 0.9901 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.005191/0.1836, allocations: 1.589 MB / 0.9917 GB, free: 14.4 MB / 0.6198 GB