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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.069/4.069, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.07e-05, allocations: 10.41 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2068, allocations: 98.75 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.4406, allocations: 123.6 MB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.441, allocations: 71.95 kB / 0.7497 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006507/0.4475, allocations: 1.443 MB / 0.7511 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.458e-06/0.4475, allocations: 0 / 0.7511 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.4476, allocations: 7.938 kB / 0.7511 GB, free: 11.84 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.0009232/0.4485, allocations: 462.1 kB / 0.7515 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4486, allocations: 12.03 kB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.4486, allocations: 15.77 kB / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.4489, allocations: 198.9 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.449, allocations: 0 / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.449, allocations: 4 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003199/0.4493, allocations: 95.95 kB / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.4496, allocations: 107.3 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4496, allocations: 0 / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4496, allocations: 0 / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4497, allocations: 4 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4509, allocations: 0.4897 MB / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.4512, allocations: 129.1 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.4514, allocations: 57.8 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.4514, allocations: 4 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4515, allocations: 38.55 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.4515, allocations: 0 / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000419/0.4519, allocations: 137.4 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.452, allocations: 81.11 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4522, allocations: 144.8 kB / 0.753 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4522, allocations: 25.7 kB / 0.753 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.4523, allocations: 112 kB / 0.7531 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.4523, allocations: 23.66 kB / 0.7531 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.4524, allocations: 0 / 0.7531 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4525, allocations: 322.8 kB / 0.7534 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.4527, allocations: 39.98 kB / 0.7535 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.4528, allocations: 57.69 kB / 0.7535 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.453, allocations: 43.97 kB / 0.7536 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.453, allocations: 0 / 0.7536 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003339/0.4533, allocations: 133.5 kB / 0.7537 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.4534, allocations: 12 kB / 0.7537 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4534, allocations: 0 / 0.7537 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4534, allocations: 0 / 0.7537 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.4538, allocations: 43.95 kB / 0.7538 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4538, allocations: 3.953 kB / 0.7538 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.4541, allocations: 35.88 kB / 0.7538 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.4541, allocations: 4 kB / 0.7538 GB, free: 8.82 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 0.0001004/0.4542, allocations: 104.9 kB / 0.7539 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003464/0.4546, allocations: 129.5 kB / 0.754 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.4547, allocations: 7.906 kB / 0.754 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.326e-05/0.4548, allocations: 24.33 kB / 0.754 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4548, allocations: 3.953 kB / 0.7541 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4548, allocations: 4 kB / 0.7541 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4548, allocations: 0 / 0.7541 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.4552, allocations: 198.1 kB / 0.7542 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4552, allocations: 3.938 kB / 0.7542 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.4556, allocations: 47.95 kB / 0.7543 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4556, allocations: 0 / 0.7543 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4556, allocations: 0 / 0.7543 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4556, allocations: 4 kB / 0.7543 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4556, allocations: 0 / 0.7543 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.456, allocations: 320.8 kB / 0.7546 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.4561, allocations: 89 kB / 0.7547 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.4561, allocations: 0 / 0.7547 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.4565, allocations: 35.95 kB / 0.7547 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.4566, allocations: 19.81 kB / 0.7547 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4566, allocations: 8 kB / 0.7548 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001227/0.4568, allocations: 115.2 kB / 0.7549 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4568, allocations: 0 / 0.7549 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004065/0.4572, allocations: 27.78 kB / 0.7549 GB, free: 7.605 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.0007747/0.458, allocations: 0.913 MB / 0.7558 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4583, allocations: 95.89 kB / 0.7559 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4583, allocations: 4 kB / 0.7559 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.4585, allocations: 55.92 kB / 0.7559 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.4588, allocations: 15.94 kB / 0.7559 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.4597, allocations: 218.9 kB / 0.7562 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.46, allocations: 0.7166 MB / 0.7569 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.4602, allocations: 31.97 kB / 0.7569 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4603, allocations: 31.42 kB / 0.7569 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/0.4603, allocations: 0 / 0.7569 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.4988, allocations: 1.884 MB / 0.7588 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.4991, allocations: 153.4 kB / 0.7589 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.825, allocations: 4 kB / 0.7589 GB, free: 3.371 MB / 0.6355 GB