Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.243/2.243, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002081/0.002081, allocations: 180.2 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.574/2.574, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 107.1 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004656, allocations: 11.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001687/0.2312, allocations: 1.19 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003628/0.2316, allocations: 141.5 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.2316, allocations: 0 / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.2319, allocations: 55.84 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.2319, allocations: 31.95 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.199e-05/0.232, allocations: 15.97 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2321, allocations: 55.86 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2323, allocations: 23.92 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.2324, allocations: 31.91 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2325, allocations: 71.78 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.2326, allocations: 4 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.2326, allocations: 4 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.2327, allocations: 31.89 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.2327, allocations: 45.64 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2328, allocations: 75.83 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2328, allocations: 0 / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2329, allocations: 0 / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2329, allocations: 0 / 0.9006 GB, free: 63.64 MB / 0.6042 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.0009466/0.2338, allocations: 471 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2339, allocations: 8.031 kB / 0.9011 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.2339, allocations: 11.91 kB / 0.9011 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.2341, allocations: 206.7 kB / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2342, allocations: 7.938 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2342, allocations: 4 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.2348, allocations: 167.3 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2348, allocations: 4 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2349, allocations: 0 / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2349, allocations: 0 / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.2358, allocations: 203.8 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2369, allocations: 0.5165 MB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/0.2376, allocations: 185.1 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2377, allocations: 0 / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2377, allocations: 42.56 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.2377, allocations: 0 / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001478/0.2392, allocations: 333.3 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.2393, allocations: 85.05 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2395, allocations: 166.2 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2395, allocations: 25.7 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.2395, allocations: 100.1 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2396, allocations: 27.56 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.2396, allocations: 0 / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.2397, allocations: 330.8 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.2401, allocations: 99.86 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.2406, allocations: 105.6 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.241, allocations: 108.3 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2411, allocations: 0 / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000972/0.242, allocations: 229.5 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2421, allocations: 11.94 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2421, allocations: 160 / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2421, allocations: 4 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.2425, allocations: 39.95 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2425, allocations: 11.94 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.2428, allocations: 39.95 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2428, allocations: 4 kB / 0.904 GB, free: 59.91 MB / 0.6042 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.0001157/0.2429, allocations: 125.8 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.243, allocations: 15.81 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.2431, allocations: 16.25 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2431, allocations: 0 / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2431, allocations: 0 / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2431, allocations: 3.953 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.2435, allocations: 225.6 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2435, allocations: 4 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.2438, allocations: 43.89 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2438, allocations: 4 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2439, allocations: 7.938 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2439, allocations: 0 / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2439, allocations: 0 / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.2449, allocations: 420.2 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2449, allocations: 92.86 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.245, allocations: 4 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.2454, allocations: 35.95 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.2455, allocations: 15.94 kB / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2455, allocations: 7.938 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000107/0.2456, allocations: 116.1 kB / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2456, allocations: 0 / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000384/0.246, allocations: 24 kB / 0.9051 GB, free: 58.66 MB / 0.6042 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.0001338/0.2462, allocations: 99.25 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009551/0.2471, allocations: 211.7 kB / 0.9054 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2471, allocations: 0 / 0.9054 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.2476, allocations: 99.92 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.248, allocations: 17.72 kB / 0.9055 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.2486, allocations: 278.2 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.2488, allocations: 0.72 MB / 0.9065 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.249, allocations: 27.95 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.2491, allocations: 11.44 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2491, allocations: 0 / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.004171/0.2532, allocations: 0.9412 MB / 0.9075 GB, free: 56.22 MB / 0.6042 GB