Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.185/2.185, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 177.3 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.311/2.311, allocations: 205.4 MB / 0.5764 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 93.84 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004951, allocations: 18.03 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2187, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.5326, allocations: 131.3 MB / 1.027 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/0.5331, allocations: 71.95 kB / 1.027 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009387/0.5425, allocations: 1.458 MB / 1.029 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5426, allocations: 0 / 1.029 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.5426, allocations: 4 kB / 1.029 GB, free: 12.97 MB / 0.6823 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.001377/0.544, allocations: 474.7 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.5441, allocations: 8.031 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.5441, allocations: 30.56 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.5442, allocations: 23.81 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.5446, allocations: 207.8 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.5447, allocations: 4 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.5447, allocations: 4 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/0.5457, allocations: 167.2 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5457, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.5458, allocations: 4 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5458, allocations: 4 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.5473, allocations: 199.8 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.5491, allocations: 0.5242 MB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.5502, allocations: 181.1 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.5502, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.5503, allocations: 34.5 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.246e-06/0.5503, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.002346/0.5527, allocations: 341.3 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.5528, allocations: 81.11 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.5531, allocations: 150 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.5532, allocations: 29.7 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5533, allocations: 100.1 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.5534, allocations: 27.56 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.5534, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5536, allocations: 326.8 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.5544, allocations: 87.92 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.5551, allocations: 109.6 kB / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.5558, allocations: 95.92 kB / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5558, allocations: 0 / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001551/0.5574, allocations: 245.4 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.5575, allocations: 4 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5575, allocations: 0 / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5575, allocations: 7.938 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/0.5581, allocations: 39.95 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5581, allocations: 7.953 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.5585, allocations: 47.8 kB / 1.032 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.5586, allocations: 160 / 1.032 GB, free: 9.215 MB / 0.6823 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.0002323/0.5588, allocations: 129.7 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.559, allocations: 11.89 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.5591, allocations: 24.25 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.5591, allocations: 4 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5591, allocations: 0 / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.5592, allocations: 3.953 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.5598, allocations: 221.6 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5598, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.5604, allocations: 43.95 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.5604, allocations: 4 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.5604, allocations: 8 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5605, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.5605, allocations: 3.984 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.5622, allocations: 433.1 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.5623, allocations: 85.48 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.5624, allocations: 0 / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.563, allocations: 35.95 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5631, allocations: 11.94 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.5631, allocations: 12 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002041/0.5633, allocations: 115.2 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/0.5634, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006493/0.564, allocations: 20 kB / 1.033 GB, free: 7.969 MB / 0.6823 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.002263/0.5663, allocations: 1.029 MB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.5679, allocations: 207.8 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5679, allocations: 0 / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.5687, allocations: 103.9 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.5692, allocations: 19.89 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.5737, allocations: 1.096 MB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.5742, allocations: 0.7196 MB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.5745, allocations: 27.95 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.5746, allocations: 27.44 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/0.5747, allocations: 0 / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.6007, allocations: 2.257 MB / 1.038 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003823/0.6012, allocations: 190.1 kB / 1.039 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.032, allocations: 0 / 1.039 GB, free: 2.285 MB / 0.6823 GB