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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.955/3.955, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.671e-05, allocations: 8 kB / 0.5325 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4959, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.6852, allocations: 123.6 MB / 0.7496 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.6856, allocations: 75.78 kB / 0.7497 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005664/0.6913, allocations: 1.444 MB / 0.7511 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.215e-06/0.6913, allocations: 3.938 kB / 0.7511 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.6913, allocations: 0 / 0.7511 GB, free: 2.469 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.000705/0.692, allocations: 454.2 kB / 0.7515 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.6921, allocations: 8.031 kB / 0.7515 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.6922, allocations: 15.81 kB / 0.7515 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.6924, allocations: 202.8 kB / 0.7517 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.6925, allocations: 4 kB / 0.7517 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.6925, allocations: 3.938 kB / 0.7517 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002771/0.6928, allocations: 103.9 kB / 0.7518 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.693, allocations: 111.3 kB / 0.752 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.18e-06/0.6931, allocations: 0 / 0.752 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6931, allocations: 0 / 0.752 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.918e-06/0.6931, allocations: 4 kB / 0.752 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.6941, allocations: 0.4896 MB / 0.7524 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.6944, allocations: 125.2 kB / 0.7526 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.6945, allocations: 53.8 kB / 0.7526 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.6946, allocations: 0 / 0.7526 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.6946, allocations: 46.48 kB / 0.7527 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.151e-06/0.6946, allocations: 0 / 0.7527 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003797/0.695, allocations: 125.5 kB / 0.7528 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.6951, allocations: 85.06 kB / 0.7529 GB, free: 480 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6953, allocations: 145.1 kB / 0.753 GB, free: 332 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.6953, allocations: 25.7 kB / 0.753 GB, free: 300 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.6954, allocations: 104.1 kB / 0.7531 GB, free: 192 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.6954, allocations: 31.55 kB / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.6955, allocations: 0 / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6957, allocations: 326.8 kB / 0.7535 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.6958, allocations: 43.92 kB / 0.7535 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.6959, allocations: 57.7 kB / 0.7536 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.696, allocations: 43.97 kB / 0.7536 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-06/0.696, allocations: 0 / 0.7536 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003083/0.6964, allocations: 129.5 kB / 0.7537 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6964, allocations: 4 kB / 0.7537 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.693e-06/0.6964, allocations: 0 / 0.7537 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6964, allocations: 0 / 0.7537 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.6967, allocations: 51.89 kB / 0.7538 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.236e-06/0.6967, allocations: 0 / 0.7538 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6969, allocations: 39.81 kB / 0.7538 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.697, allocations: 4 kB / 0.7538 GB, free: 15.45 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.601e-05/0.6971, allocations: 107.7 kB / 0.7539 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.6971, allocations: 15.91 kB / 0.7539 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.6972, allocations: 16.34 kB / 0.7539 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-06/0.6972, allocations: 3.938 kB / 0.754 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-06/0.6972, allocations: 0 / 0.754 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.671e-06/0.6973, allocations: 3.984 kB / 0.754 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.6976, allocations: 194.1 kB / 0.7541 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6976, allocations: 0 / 0.7541 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.6979, allocations: 55.89 kB / 0.7542 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-06/0.6979, allocations: 0 / 0.7542 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6979, allocations: 0 / 0.7542 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6979, allocations: 0 / 0.7542 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.724e-06/0.698, allocations: 4 kB / 0.7542 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.6983, allocations: 324.2 kB / 0.7545 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.6984, allocations: 88.95 kB / 0.7546 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.6985, allocations: 0 / 0.7546 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.6987, allocations: 31.95 kB / 0.7546 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.6988, allocations: 7.984 kB / 0.7546 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.6988, allocations: 8 kB / 0.7546 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001122/0.699, allocations: 115.3 kB / 0.7547 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.93e-07/0.699, allocations: 0 / 0.7547 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003729/0.6994, allocations: 19.95 kB / 0.7548 GB, free: 14.39 MB / 0.6355 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.0001702/0.6995, allocations: 107.2 kB / 0.7549 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.6998, allocations: 91.97 kB / 0.755 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.711e-06/0.6998, allocations: 3.938 kB / 0.755 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.7, allocations: 60.38 kB / 0.755 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.7003, allocations: 8 kB / 0.755 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.7008, allocations: 181.3 kB / 0.7552 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.7012, allocations: 0.7158 MB / 0.7559 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.7014, allocations: 31.97 kB / 0.7559 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.7014, allocations: 7.438 kB / 0.7559 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.515e-06/0.7015, allocations: 0 / 0.7559 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.003905/0.7054, allocations: 0.8686 MB / 0.7568 GB, free: 12.27 MB / 0.6355 GB