Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01064/0.01064, allocations: 222.5 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001123/0.001123, allocations: 180.6 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.777/3.777, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.503/4.503, allocations: 472.3 MB / 0.9018 GB, free: 13.44 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 12 kB / 1.008 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.5442, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001338/0.5456, allocations: 1.178 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0003163/0.5459, allocations: 145.4 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.546, allocations: 7.938 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.5461, allocations: 45 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.5462, allocations: 35.88 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 5.953e-05/0.5463, allocations: 15.3 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.511e-05/0.5464, allocations: 79.75 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.5465, allocations: 15.98 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.5466, allocations: 39.83 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.5467, allocations: 75.42 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.5467, allocations: 4 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.5467, allocations: 4 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.5468, allocations: 27.91 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.5468, allocations: 37.7 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.5469, allocations: 79.81 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.732e-06/0.547, allocations: 4.969 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.958e-06/0.547, allocations: 0 / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.393e-06/0.547, allocations: 0 / 1.106 GB, free: 181.9 MB / 0.6823 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.000638/0.5476, allocations: 462.3 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5477, allocations: 12.03 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.5477, allocations: 11.81 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.5479, allocations: 199.6 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.5479, allocations: 9.719 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.548, allocations: 7.938 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.5484, allocations: 162.9 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-06/0.5484, allocations: 7.406 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.5484, allocations: 1.125 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-06/0.5485, allocations: 4 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.5491, allocations: 202 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.5499, allocations: 0.5204 MB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.5504, allocations: 176.2 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.5507, allocations: 109.7 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.5507, allocations: 3.875 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.5508, allocations: 38.5 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.759e-06/0.5508, allocations: 0 / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001029/0.5518, allocations: 339.1 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.5519, allocations: 77.11 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.552, allocations: 161.5 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.552, allocations: 33.86 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.5521, allocations: 100.1 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.5521, allocations: 31.55 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-06/0.5522, allocations: 0 / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.5522, allocations: 322.8 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.5525, allocations: 95.36 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.5528, allocations: 113.1 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.5531, allocations: 98.53 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5532, allocations: 0 / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006656/0.5538, allocations: 239.3 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5539, allocations: 8 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.299e-06/0.5539, allocations: 0 / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5539, allocations: 1.75 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.5542, allocations: 52.19 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.464e-06/0.5542, allocations: 3.938 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.5544, allocations: 32.56 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.5544, allocations: 8 kB / 1.109 GB, free: 178.2 MB / 0.6823 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 9.4e-05/0.5545, allocations: 128.5 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.5546, allocations: 11.91 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.5546, allocations: 24.23 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-06/0.5546, allocations: 0 / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.023e-06/0.5547, allocations: 3.953 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5547, allocations: 0 / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.555, allocations: 230.2 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-06/0.555, allocations: 0 / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.5552, allocations: 40.7 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.5552, allocations: 4 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5553, allocations: 0 / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-06/0.5553, allocations: 0 / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-06/0.5553, allocations: 3.406 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.556, allocations: 417.2 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.556, allocations: 90.19 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.556, allocations: 0 / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.5563, allocations: 29 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.5564, allocations: 16.33 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.5564, allocations: 4 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.53e-05/0.5565, allocations: 130.5 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.86e-07/0.5565, allocations: 0 / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000374/0.5569, allocations: 16 kB / 1.11 GB, free: 177 MB / 0.6823 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.0001141/0.557, allocations: 110.3 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006403/0.5577, allocations: 205.3 kB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.653e-06/0.5577, allocations: 4 kB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.558, allocations: 107 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.5585, allocations: 16.83 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.5591, allocations: 278.5 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.5592, allocations: 0.716 MB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.5594, allocations: 27.38 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.5594, allocations: 11.44 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.606e-06/0.5594, allocations: 0 / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.003809/0.5633, allocations: 0.9507 MB / 1.113 GB, free: 174.6 MB / 0.6823 GB