Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.231/2.231, allocations: 251 MB / 265.9 MB, free: 11.7 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.002333/0.002333, allocations: 189.9 kB / 325.5 MB, free: 2.906 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.488/2.488, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001121/0.001121, allocations: 89.94 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004832, allocations: 18.88 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.4421, allocations: 131 MB / 1.027 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.4424, allocations: 63.97 kB / 1.027 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008585/0.4511, allocations: 2.298 MB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4511, allocations: 0 / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.4511, allocations: 4 kB / 1.029 GB, free: 11.89 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000678/0.4518, allocations: 478.8 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4519, allocations: 8.031 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.36e-05/0.452, allocations: 54.55 kB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.4521, allocations: 31.66 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.4525, allocations: 278.5 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4525, allocations: 12.44 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.4526, allocations: 20 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.4534, allocations: 337.1 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4534, allocations: 4 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.4534, allocations: 12 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.4535, allocations: 4 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.454, allocations: 231.8 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.4561, allocations: 1.413 MB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.4562, allocations: 169.9 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.4563, allocations: 83.28 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.4564, allocations: 113.8 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.685e-06/0.4564, allocations: 0 / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001208/0.4565, allocations: 45.42 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.4566, allocations: 130.6 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.4574, allocations: 463.6 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4574, allocations: 33.7 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4576, allocations: 163.8 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/0.4576, allocations: 4 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.4577, allocations: 3.938 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4578, allocations: 342.8 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4579, allocations: 47.95 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.4581, allocations: 99.5 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.4583, allocations: 55.95 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4583, allocations: 0 / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004552/0.4588, allocations: 189.1 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4588, allocations: 8 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4588, allocations: 0 / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4589, allocations: 4 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4591, allocations: 19.92 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4591, allocations: 4 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.4593, allocations: 43.62 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.4593, allocations: 8.156 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0002466/0.4596, allocations: 253.2 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4597, allocations: 124.7 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.4598, allocations: 130.8 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.807e-05/0.4599, allocations: 184.2 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-05/0.46, allocations: 176.3 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/0.4601, allocations: 188.2 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.4605, allocations: 0.4893 MB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-05/0.4606, allocations: 101 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.4606, allocations: 104.9 kB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.071e-05/0.4607, allocations: 176.3 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.4608, allocations: 188.2 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.389e-05/0.4609, allocations: 184.3 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.129e-05/0.4609, allocations: 184.2 kB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.4611, allocations: 327.4 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.4614, allocations: 233.7 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4615, allocations: 176.3 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4617, allocations: 113.8 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.4618, allocations: 180.2 kB / 1.037 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.4618, allocations: 105 kB / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006272/0.4625, allocations: 359 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4625, allocations: 0 / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003802/0.4629, allocations: 24 kB / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005207/0.4634, allocations: 0.8396 MB / 1.038 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.4636, allocations: 67.89 kB / 1.039 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4637, allocations: 0 / 1.039 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.059e-06/0.4637, allocations: 4.438 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.4642, allocations: 0.543 MB / 1.039 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.4678, allocations: 2.565 MB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.4683, allocations: 0.783 MB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.4685, allocations: 53.52 kB / 1.042 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4686, allocations: 55.42 kB / 1.042 GB, free: 13.56 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/0.4686, allocations: 0 / 1.042 GB, free: 13.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.4963, allocations: 4.14 MB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/0.4967, allocations: 185.1 kB / 1.047 GB, free: 9.336 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.882, allocations: 0 / 1.047 GB, free: 9.336 MB / 0.698 GB