Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.26/4.26, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.406e-05, allocations: 7.047 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1725, allocations: 98.72 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.3631, allocations: 124.2 MB / 0.7561 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.3634, allocations: 75.94 kB / 0.7561 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005575/0.369, allocations: 1.451 MB / 0.7575 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.878e-06/0.3691, allocations: 0 / 0.7575 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.3691, allocations: 4 kB / 0.7576 GB, free: 3.941 MB / 0.6355 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.0007239/0.3698, allocations: 450.2 kB / 0.758 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3699, allocations: 8.031 kB / 0.758 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.3699, allocations: 15.81 kB / 0.758 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3702, allocations: 206.8 kB / 0.7582 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3702, allocations: 8 kB / 0.7582 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3703, allocations: 7.938 kB / 0.7582 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.3705, allocations: 115.3 kB / 0.7583 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.441e-06/0.3706, allocations: 0 / 0.7583 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3706, allocations: 4 kB / 0.7583 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-06/0.3706, allocations: 0 / 0.7583 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.3709, allocations: 103.9 kB / 0.7584 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.372, allocations: 0.5242 MB / 0.7589 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3723, allocations: 133.1 kB / 0.7591 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3724, allocations: 53.8 kB / 0.7591 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3725, allocations: 4 kB / 0.7591 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3725, allocations: 34.56 kB / 0.7592 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.51e-06/0.3725, allocations: 4 kB / 0.7592 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004096/0.3729, allocations: 141.5 kB / 0.7593 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.373, allocations: 77.11 kB / 0.7594 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3732, allocations: 147.1 kB / 0.7595 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3732, allocations: 25.7 kB / 0.7595 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.3733, allocations: 108.1 kB / 0.7596 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.3734, allocations: 23.56 kB / 0.7597 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.3734, allocations: 4 kB / 0.7597 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3736, allocations: 328.6 kB / 0.76 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3737, allocations: 43.97 kB / 0.76 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3738, allocations: 57.69 kB / 0.7601 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.374, allocations: 51.95 kB / 0.7601 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.459e-06/0.374, allocations: 0 / 0.7601 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003078/0.3743, allocations: 137.5 kB / 0.7603 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3743, allocations: 4 kB / 0.7603 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.094e-06/0.3743, allocations: 0 / 0.7603 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3744, allocations: 0 / 0.7603 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.3747, allocations: 51.89 kB / 0.7603 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3747, allocations: 3.953 kB / 0.7603 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3749, allocations: 39.86 kB / 0.7603 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3749, allocations: 4 kB / 0.7604 GB, free: 0.8281 MB / 0.6355 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 () * 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.434e-05/0.375, allocations: 105 kB / 0.7605 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.3751, allocations: 11.91 kB / 0.7605 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.3752, allocations: 19.97 kB / 0.7605 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-06/0.3752, allocations: 0 / 0.7605 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.746e-06/0.3752, allocations: 0 / 0.7605 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.29e-06/0.3752, allocations: 7.953 kB / 0.7605 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.3757, allocations: 221.6 kB / 0.7607 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.268e-06/0.3757, allocations: 3.984 kB / 0.7607 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3759, allocations: 47.97 kB / 0.7608 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.922e-06/0.376, allocations: 0 / 0.7608 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.376, allocations: 0 / 0.7608 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.759e-06/0.376, allocations: 3.984 kB / 0.7608 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.998e-06/0.376, allocations: 7.938 kB / 0.7608 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.3764, allocations: 320.3 kB / 0.7611 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.3765, allocations: 88.95 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3766, allocations: 3.984 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.3769, allocations: 31.97 kB / 0.7612 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.3769, allocations: 15.94 kB / 0.7612 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.377, allocations: 7.938 kB / 0.7612 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001306/0.3771, allocations: 125.7 kB / 0.7613 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.34e-07/0.3771, allocations: 0 / 0.7613 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003819/0.3775, allocations: 20 kB / 0.7613 GB, free: 15.71 MB / 0.6511 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 () * 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.0001614/0.3777, allocations: 103.2 kB / 0.7614 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002878/0.378, allocations: 99.95 kB / 0.7615 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.877e-06/0.378, allocations: 4 kB / 0.7615 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3782, allocations: 51.92 kB / 0.7616 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3785, allocations: 15.98 kB / 0.7616 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.379, allocations: 182.9 kB / 0.7618 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.3795, allocations: 0.7121 MB / 0.7625 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.3796, allocations: 35.95 kB / 0.7625 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.3797, allocations: 7.438 kB / 0.7625 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.866e-06/0.3797, allocations: 4 kB / 0.7625 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of Templates: time 0.004254/0.384, allocations: 0.9491 MB / 0.7635 GB, free: 13.5 MB / 0.6511 GB