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.68/2.68, allocations: 248.5 MB / 261.1 MB, free: 6.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 194.2 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001071/0.00107, allocations: 98.42 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.804e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2013, allocations: 106.3 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8562/1.058, allocations: 131.2 MB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/1.058, allocations: 72.02 kB / 1.019 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006947/1.065, allocations: 1.463 MB / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/1.065, allocations: 0 / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.692e-05/1.065, allocations: 2.625 kB / 1.02 GB, free: 2.68 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.000988/1.066, allocations: 453 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.066, allocations: 8.031 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/1.066, allocations: 41.98 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/1.066, allocations: 15.81 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/1.067, allocations: 210.9 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/1.067, allocations: 11.19 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/1.067, allocations: 4 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/1.067, allocations: 110.4 kB / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.067, allocations: 0 / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/1.067, allocations: 7.484 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.067, allocations: 4 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/1.067, allocations: 98.7 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/1.069, allocations: 0.5239 MB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/1.069, allocations: 128.3 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/1.069, allocations: 57.98 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/1.069, allocations: 0 / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.069, allocations: 41.56 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/1.069, allocations: 0 / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004432/1.07, allocations: 137.7 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.07, allocations: 81.11 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/1.07, allocations: 150.1 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.07, allocations: 25.7 kB / 1.022 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/1.07, allocations: 105.5 kB / 1.022 GB, free: 484 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/1.07, allocations: 35.05 kB / 1.022 GB, free: 452 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/1.07, allocations: 0 / 1.022 GB, free: 452 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.07, allocations: 321.8 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/1.071, allocations: 50.03 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/1.071, allocations: 52.77 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/1.071, allocations: 42.47 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.071, allocations: 0 / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003884/1.071, allocations: 137.5 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.071, allocations: 12 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.071, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.071, allocations: 4.125 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/1.072, allocations: 47.41 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.072, allocations: 4 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/1.072, allocations: 39.86 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/1.072, allocations: 8.859 kB / 1.023 GB, free: 15.78 MB / 0.6511 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.922e-05/1.072, allocations: 104.7 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/1.072, allocations: 11.84 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/1.073, allocations: 18.22 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.073, allocations: 4 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.073, allocations: 3.953 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.073, allocations: 7.984 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/1.073, allocations: 220.9 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.073, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/1.073, allocations: 47.83 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.073, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/1.073, allocations: 7.312 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.073, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.073, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/1.074, allocations: 313.8 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/1.074, allocations: 92.94 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/1.074, allocations: 6.062 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/1.074, allocations: 31.97 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.075, allocations: 18.19 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.075, allocations: 3.188 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001497/1.075, allocations: 126.1 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.075, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003685/1.075, allocations: 19.5 kB / 1.024 GB, free: 14.74 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.0009046/1.076, allocations: 0.9192 MB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003792/1.077, allocations: 101.5 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.077, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/1.077, allocations: 55.17 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/1.077, allocations: 19.44 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/1.078, allocations: 226.7 kB / 1.025 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/1.078, allocations: 0.716 MB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001824/1.079, allocations: 27.92 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/1.079, allocations: 35.55 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.262e-06/1.079, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/1.101, allocations: 2.273 MB / 1.028 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/1.101, allocations: 175.4 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.553, allocations: 64 / 1.029 GB, free: 10.28 MB / 0.6511 GB