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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01088/0.01089, allocations: 106.6 kB / 15.05 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.001176/0.001176, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.174/2.174, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.369/2.369, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006484, allocations: 12 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6945, allocations: 98.72 MB / 0.6835 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.921, allocations: 124.3 MB / 0.8049 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.9213, allocations: 75.94 kB / 0.8049 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006583/0.9279, allocations: 1.452 MB / 0.8063 GB, free: 408 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.928, allocations: 0 / 0.8063 GB, free: 408 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.928, allocations: 7.938 kB / 0.8064 GB, free: 400 kB / 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.001021/0.929, allocations: 466.8 kB / 0.8068 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.9291, allocations: 8.031 kB / 0.8068 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.9291, allocations: 42.55 kB / 0.8068 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.9292, allocations: 11.81 kB / 0.8069 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.9295, allocations: 210.8 kB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.9295, allocations: 0 / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.9295, allocations: 12 kB / 0.8071 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.9302, allocations: 167.2 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9303, allocations: 0 / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.9303, allocations: 4 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.9303, allocations: 0 / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.9313, allocations: 203.8 kB / 0.8074 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.9326, allocations: 0.5165 MB / 0.8079 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.9334, allocations: 181.1 kB / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.9334, allocations: 4 kB / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.9335, allocations: 34.56 kB / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.9335, allocations: 0 / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001651/0.9351, allocations: 333.3 kB / 0.8085 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.9352, allocations: 81.11 kB / 0.8085 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.9354, allocations: 148.2 kB / 0.8087 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.9355, allocations: 25.7 kB / 0.8087 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.9355, allocations: 108 kB / 0.8088 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.9356, allocations: 23.7 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.9356, allocations: 0 / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9358, allocations: 326.8 kB / 0.8091 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.9363, allocations: 99.86 kB / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.9368, allocations: 109.6 kB / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.9373, allocations: 100.3 kB / 0.8094 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9373, allocations: 3.938 kB / 0.8094 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001062/0.9384, allocations: 233.4 kB / 0.8097 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.9384, allocations: 15.94 kB / 0.8097 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9384, allocations: 0 / 0.8097 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9384, allocations: 0 / 0.8097 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.9388, allocations: 43.95 kB / 0.8097 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.9389, allocations: 3.953 kB / 0.8097 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.9392, allocations: 43.81 kB / 0.8098 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.9392, allocations: 4 kB / 0.8098 GB, free: 12.64 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 () * 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 0.0001443/0.9393, allocations: 121.8 kB / 0.8099 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.9394, allocations: 15.91 kB / 0.8099 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.9395, allocations: 20.23 kB / 0.8099 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.9395, allocations: 0 / 0.8099 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9395, allocations: 3.938 kB / 0.8099 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.9395, allocations: 11.95 kB / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.9399, allocations: 217.6 kB / 0.8101 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.94, allocations: 0 / 0.8101 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.9403, allocations: 51.89 kB / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.9403, allocations: 0 / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.9404, allocations: 0 / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.9404, allocations: 0 / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9404, allocations: 8 kB / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.9416, allocations: 420.2 kB / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.9416, allocations: 89.02 kB / 0.8107 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.9417, allocations: 4 kB / 0.8107 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.942, allocations: 31.97 kB / 0.8107 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.9421, allocations: 11.94 kB / 0.8107 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.9422, allocations: 7.938 kB / 0.8107 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001408/0.9423, allocations: 123.2 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9423, allocations: 4 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00037/0.9427, allocations: 20 kB / 0.8109 GB, free: 11.4 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 () * 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.001489/0.9442, allocations: 1.026 MB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.9453, allocations: 203.8 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.9453, allocations: 4 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.9459, allocations: 103.9 kB / 0.8122 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.9462, allocations: 25.77 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.9492, allocations: 1.092 MB / 0.8133 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.9496, allocations: 0.7123 MB / 0.814 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.9498, allocations: 31.97 kB / 0.814 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.9499, allocations: 27.42 kB / 0.814 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.9499, allocations: 0 / 0.814 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.9756, allocations: 2.254 MB / 0.8162 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/0.9761, allocations: 192.7 kB / 0.8164 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.259, allocations: 0 / 0.8164 GB, free: 5.668 MB / 0.6355 GB