Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.856/1.856, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 180.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009923/0.0009922, allocations: 96.42 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.355e-05, allocations: 12 kB / 0.8519 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6677, allocations: 115.3 MB / 0.9645 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.848, allocations: 136.8 MB / 1.098 GB, free: 2.879 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.8482, allocations: 70.59 kB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004253/0.8525, allocations: 1.411 MB / 1.1 GB, free: 1.441 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8525, allocations: 4.938 kB / 1.1 GB, free: 1.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.8525, allocations: 0 / 1.1 GB, free: 1.438 MB / 0.698 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.0006555/0.8532, allocations: 459 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8532, allocations: 11.06 kB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.8533, allocations: 16.92 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.8535, allocations: 198.4 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.8536, allocations: 0 / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.8536, allocations: 4 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000217/0.8538, allocations: 110.2 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.854, allocations: 108.1 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.854, allocations: 0 / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.854, allocations: 0 / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.854, allocations: 4 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.8549, allocations: 0.4936 MB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.8552, allocations: 122.1 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.8553, allocations: 61.78 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.8553, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.8553, allocations: 38.5 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.8554, allocations: 1.359 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002935/0.8557, allocations: 121.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.8557, allocations: 85.11 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.8559, allocations: 141.4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.8559, allocations: 25.7 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.8559, allocations: 104 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.856, allocations: 28.95 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.856, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8561, allocations: 326.8 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.8562, allocations: 39.98 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.8563, allocations: 65.45 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.8564, allocations: 47.97 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8564, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001889/0.8566, allocations: 126.7 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.8566, allocations: 12.77 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8566, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8566, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.8569, allocations: 47.91 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8569, allocations: 3.984 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.857, allocations: 27.97 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.8571, allocations: 11 kB / 1.102 GB, free: 14.44 MB / 0.7136 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 7.42e-05/0.8571, allocations: 107.6 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002155/0.8574, allocations: 134 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.8574, allocations: 15.81 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.8575, allocations: 20.33 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8575, allocations: 0 / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8575, allocations: 1.172 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8575, allocations: 4 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.8578, allocations: 198.1 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.8578, allocations: 3.984 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.858, allocations: 43.97 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.858, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.858, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.858, allocations: 7.984 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.858, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.8584, allocations: 312.3 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.8584, allocations: 96.86 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.8584, allocations: 3.984 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.8587, allocations: 31.97 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.8587, allocations: 10.19 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.8587, allocations: 4 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.921e-05/0.8588, allocations: 127.6 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8588, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002984/0.8591, allocations: 19.95 kB / 1.103 GB, free: 13.24 MB / 0.7136 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.0005961/0.8597, allocations: 0.9147 MB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.8599, allocations: 95.91 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.86, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.86, allocations: 59.91 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.8603, allocations: 12.89 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.8609, allocations: 218.9 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.8612, allocations: 0.7165 MB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.8613, allocations: 27.97 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.8614, allocations: 27.42 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.8614, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.8818, allocations: 1.908 MB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.882, allocations: 155.5 kB / 1.107 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.603, allocations: 0 / 1.107 GB, free: 9.059 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)