Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.816/2.817, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.002038/0.002037, allocations: 173.2 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.026/2.026, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001025/0.001025, allocations: 90.84 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004772, allocations: 17.03 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1574, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0008295/0.1583, allocations: 482.7 kB / 0.9792 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009261/0.1592, allocations: 0.8204 MB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.1593, allocations: 4 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1595, allocations: 51.84 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.1596, allocations: 31.95 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.174e-05/0.1596, allocations: 19.97 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.1597, allocations: 47.88 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1599, allocations: 27.97 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.1599, allocations: 27.91 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1601, allocations: 67.8 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1601, allocations: 4 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.1601, allocations: 4 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1602, allocations: 35.89 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.1602, allocations: 41.64 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1604, allocations: 79.83 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.153e-06/0.1604, allocations: 0 / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.989e-06/0.1604, allocations: 0 / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.063e-06/0.1604, allocations: 0 / 0.9805 GB, free: 26.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006579/0.1611, allocations: 467 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1611, allocations: 12.03 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1612, allocations: 7.906 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1613, allocations: 211.9 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1614, allocations: 4 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.1614, allocations: 0 / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.1618, allocations: 167.3 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.1619, allocations: 4 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1619, allocations: 3.938 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-06/0.1619, allocations: 4 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/0.1625, allocations: 203.8 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.1634, allocations: 0.5204 MB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.1639, allocations: 185.1 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1639, allocations: 4 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1639, allocations: 34.5 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.872e-06/0.164, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001051/0.165, allocations: 329.4 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1651, allocations: 81.09 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1652, allocations: 168.4 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1652, allocations: 25.7 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.1653, allocations: 112 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1653, allocations: 15.66 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.1654, allocations: 8 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.1654, allocations: 318.8 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.1657, allocations: 99.91 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.166, allocations: 105.6 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1664, allocations: 108.2 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/0.1664, allocations: 0 / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006877/0.1671, allocations: 241.3 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1671, allocations: 5.875 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-06/0.1671, allocations: 4 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1671, allocations: 0 / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1674, allocations: 47.89 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.808e-06/0.1674, allocations: 0 / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1676, allocations: 43.84 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1676, allocations: 4 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001031/0.1678, allocations: 129.8 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1678, allocations: 7.906 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.1679, allocations: 16.25 kB / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-06/0.1679, allocations: 0 / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.197e-06/0.1679, allocations: 4 kB / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-06/0.1679, allocations: 0 / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.1682, allocations: 229.5 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-06/0.1683, allocations: 0 / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.1685, allocations: 47.95 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.926e-06/0.1685, allocations: 0 / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1685, allocations: 3.938 kB / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.83e-06/0.1685, allocations: 0 / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-06/0.1686, allocations: 4 kB / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.1693, allocations: 420.2 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1693, allocations: 92.89 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1693, allocations: 8 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.1696, allocations: 31.95 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.1697, allocations: 11.98 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1697, allocations: 3.953 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.941e-05/0.1698, allocations: 128.1 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.13e-07/0.1698, allocations: 0 / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003808/0.1702, allocations: 23.91 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001212/0.1703, allocations: 103.2 kB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.171, allocations: 203.8 kB / 0.9853 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.852e-06/0.1711, allocations: 4 kB / 0.9853 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.1714, allocations: 107.9 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.1717, allocations: 11.94 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.1723, allocations: 274.4 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1725, allocations: 0.7106 MB / 0.9863 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.1726, allocations: 31.95 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1727, allocations: 11.44 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.48e-06/0.1727, allocations: 0 / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.003847/0.1765, allocations: 0.942 MB / 0.9873 GB, free: 19.01 MB / 0.6198 GB