Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.411/2.411, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001489/0.001489, allocations: 192.7 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001171/0.00117, allocations: 89.62 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.171e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8247, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/1.086, allocations: 136.7 MB / 1.097 GB, free: 3.875 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.086, allocations: 72.45 kB / 1.097 GB, free: 3.805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009672/1.096, allocations: 1.409 MB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/1.096, allocations: 0.5 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.323e-05/1.096, allocations: 4 kB / 1.098 GB, free: 2.43 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.001284/1.097, allocations: 455.1 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/1.097, allocations: 8.031 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/1.097, allocations: 15.27 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/1.098, allocations: 215.8 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/1.098, allocations: 0 / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/1.098, allocations: 4 kB / 1.099 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004686/1.098, allocations: 97.5 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/1.099, allocations: 109 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.099, allocations: 2.812 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/1.099, allocations: 0 / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.099, allocations: 0 / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/1.101, allocations: 0.4935 MB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/1.101, allocations: 121.2 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/1.102, allocations: 60.11 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/1.102, allocations: 3.938 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.102, allocations: 38.55 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 4.128e-06/1.102, allocations: 0 / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000603/1.102, allocations: 127.6 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/1.102, allocations: 77.11 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/1.103, allocations: 147.5 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/1.103, allocations: 25.7 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.103, allocations: 108 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/1.103, allocations: 27.64 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/1.103, allocations: 0 / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000241/1.103, allocations: 330.8 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/1.103, allocations: 42.98 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/1.104, allocations: 55.58 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/1.104, allocations: 43.97 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.104, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005169/1.105, allocations: 137.3 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.105, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.105, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.105, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/1.105, allocations: 43.95 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.105, allocations: 4 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/1.106, allocations: 35.95 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/1.106, allocations: 0 / 1.101 GB, free: 15.43 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 0.0001532/1.106, allocations: 115.4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005939/1.107, allocations: 130.7 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.107, allocations: 11.81 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/1.107, allocations: 20.34 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.107, allocations: 4 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.107, allocations: 0 / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/1.107, allocations: 3.953 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/1.107, allocations: 202.1 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.108, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/1.108, allocations: 39.95 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.108, allocations: 4.562 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.108, allocations: 2.125 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/1.108, allocations: 0 / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.108, allocations: 3.938 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/1.108, allocations: 320.4 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/1.109, allocations: 94.31 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.109, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/1.109, allocations: 35.95 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/1.109, allocations: 7.984 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.109, allocations: 7.953 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001264/1.109, allocations: 119.6 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.109, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003903/1.11, allocations: 16 kB / 1.102 GB, free: 14.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.000783/1.11, allocations: 0.9149 MB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003197/1.111, allocations: 98.69 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.111, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.111, allocations: 55.91 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/1.111, allocations: 17.92 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/1.112, allocations: 222.8 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/1.113, allocations: 0.7119 MB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001693/1.113, allocations: 31.95 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/1.113, allocations: 27.44 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.073e-06/1.113, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/1.153, allocations: 1.898 MB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/1.154, allocations: 155.2 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.48, allocations: 2.812 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)