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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.165/4.165, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.041e-05/5.052e-05, allocations: 7.359 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2498, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2535/0.5034, allocations: 124.2 MB / 0.7561 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5037, allocations: 71.95 kB / 0.7561 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006688/0.5104, allocations: 1.447 MB / 0.7575 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5105, allocations: 0 / 0.7575 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.5105, allocations: 4 kB / 0.7575 GB, free: 3.965 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.0009403/0.5115, allocations: 450.2 kB / 0.758 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.5115, allocations: 12.03 kB / 0.758 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.5116, allocations: 34.55 kB / 0.758 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.5116, allocations: 11.81 kB / 0.758 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.5119, allocations: 210.8 kB / 0.7582 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.512, allocations: 4 kB / 0.7582 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.512, allocations: 4 kB / 0.7582 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.5123, allocations: 115.4 kB / 0.7583 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5124, allocations: 0 / 0.7583 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.5124, allocations: 0 / 0.7583 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.5124, allocations: 4 kB / 0.7584 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.5127, allocations: 107.9 kB / 0.7585 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.514, allocations: 0.5164 MB / 0.759 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.5144, allocations: 133.1 kB / 0.7591 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.5146, allocations: 61.8 kB / 0.7591 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.5146, allocations: 0 / 0.7591 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.5147, allocations: 44.36 kB / 0.7592 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.737e-06/0.5147, allocations: 0 / 0.7592 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004472/0.5151, allocations: 141.4 kB / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.5152, allocations: 81.11 kB / 0.7594 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.5154, allocations: 144.5 kB / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.5154, allocations: 29.7 kB / 0.7596 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.5155, allocations: 104 kB / 0.7597 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.5156, allocations: 27.64 kB / 0.7597 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.5156, allocations: 0 / 0.7597 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5157, allocations: 326.8 kB / 0.76 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.5159, allocations: 51.91 kB / 0.7601 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.516, allocations: 53.7 kB / 0.7601 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5162, allocations: 43.97 kB / 0.7601 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5162, allocations: 0 / 0.7601 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00035/0.5166, allocations: 137.5 kB / 0.7603 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5166, allocations: 11.94 kB / 0.7603 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5166, allocations: 0 / 0.7603 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5166, allocations: 4 kB / 0.7603 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.5171, allocations: 47.91 kB / 0.7603 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5171, allocations: 0 / 0.7603 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.5174, allocations: 39.86 kB / 0.7604 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.5174, allocations: 8 kB / 0.7604 GB, free: 0.8047 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 8.922e-05/0.5175, allocations: 101 kB / 0.7605 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.5176, allocations: 7.906 kB / 0.7605 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.5177, allocations: 24.03 kB / 0.7605 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5177, allocations: 0 / 0.7605 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5177, allocations: 3.953 kB / 0.7605 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5177, allocations: 3.984 kB / 0.7605 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.5181, allocations: 225.5 kB / 0.7607 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5181, allocations: 0 / 0.7607 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.5185, allocations: 43.91 kB / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5186, allocations: 7.984 kB / 0.7608 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5186, allocations: 0 / 0.7608 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5186, allocations: 0 / 0.7608 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5186, allocations: 0 / 0.7608 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.5191, allocations: 328.3 kB / 0.7611 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.5192, allocations: 84.95 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.5192, allocations: 4 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.5196, allocations: 35.91 kB / 0.7612 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.5197, allocations: 16.12 kB / 0.7612 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.5197, allocations: 3.938 kB / 0.7612 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001447/0.5199, allocations: 123.2 kB / 0.7614 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5199, allocations: 0 / 0.7614 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003525/0.5202, allocations: 20 kB / 0.7614 GB, free: 15.69 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.0008119/0.5211, allocations: 0.9266 MB / 0.7623 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.5214, allocations: 99.89 kB / 0.7624 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5214, allocations: 0 / 0.7624 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.5216, allocations: 59.92 kB / 0.7624 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.522, allocations: 15.94 kB / 0.7624 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.5228, allocations: 231 kB / 0.7627 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.5232, allocations: 0.716 MB / 0.7634 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.5233, allocations: 23.97 kB / 0.7634 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.5235, allocations: 31.42 kB / 0.7634 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/0.5235, allocations: 0 / 0.7634 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.5506, allocations: 2.279 MB / 0.7656 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/0.551, allocations: 164 kB / 0.7658 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.038, allocations: 4 kB / 0.7658 GB, free: 11.07 MB / 0.6511 GB