Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001202/0.001202, allocations: 176.9 kB / 366.7 MB, free: 1.703 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.727/1.727, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009476/0.0009476, allocations: 89.97 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.572e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7031, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.8943, allocations: 137.8 MB / 1.108 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.8946, allocations: 72.83 kB / 1.108 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004171/0.8988, allocations: 1.41 MB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.327e-06/0.8988, allocations: 4 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8988, allocations: 0.6562 kB / 1.109 GB, free: 10.86 MB / 0.7136 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.0006263/0.8995, allocations: 457.9 kB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8995, allocations: 8.031 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.8996, allocations: 11.91 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.8998, allocations: 212.2 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.8998, allocations: 0 / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.8998, allocations: 4 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002229/0.9001, allocations: 97.77 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.9002, allocations: 106.4 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9002, allocations: 3.938 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.9003, allocations: 1 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.9003, allocations: 4 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.9011, allocations: 0.4936 MB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.9013, allocations: 133.1 kB / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.9014, allocations: 53.8 kB / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.9014, allocations: 0 / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.9015, allocations: 38.56 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.9015, allocations: 0 / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000284/0.9018, allocations: 129.5 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.9018, allocations: 81.11 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9019, allocations: 141.3 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.902, allocations: 26.36 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.902, allocations: 108 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.9021, allocations: 23.66 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-06/0.9021, allocations: 4 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9022, allocations: 326.8 kB / 1.112 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.9023, allocations: 43.97 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.9024, allocations: 53.7 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.916e-05/0.9025, allocations: 51.05 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.9025, allocations: 0 / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001825/0.9027, allocations: 133.4 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.9027, allocations: 9.406 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.9027, allocations: 4 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9027, allocations: 0 / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.903, allocations: 47.95 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.903, allocations: 0 / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.9031, allocations: 31.97 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.9031, allocations: 7.984 kB / 1.112 GB, free: 7.848 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.851e-05/0.9032, allocations: 111.6 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002139/0.9034, allocations: 121.6 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.9035, allocations: 15.81 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.9036, allocations: 20.33 kB / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9036, allocations: 0 / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9036, allocations: 0 / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.9036, allocations: 4 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.9038, allocations: 202.1 kB / 1.113 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9039, allocations: 0 / 1.113 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.9041, allocations: 47.89 kB / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.9041, allocations: 0 / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.9041, allocations: 3.938 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.9041, allocations: 1.312 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9041, allocations: 8 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.9044, allocations: 316.3 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.9045, allocations: 92.86 kB / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.9045, allocations: 0 / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.9047, allocations: 35.95 kB / 1.113 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.9048, allocations: 7.984 kB / 1.113 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.9048, allocations: 4 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.913e-05/0.9049, allocations: 115.3 kB / 1.113 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9049, allocations: 3.938 kB / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000259/0.9051, allocations: 22.86 kB / 1.113 GB, free: 6.645 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.0005971/0.9057, allocations: 0.9123 MB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.9059, allocations: 95.89 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9059, allocations: 0 / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.906, allocations: 52.36 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.9063, allocations: 19.94 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.9069, allocations: 222.8 kB / 1.114 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.9072, allocations: 0.7126 MB / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.447e-05/0.9073, allocations: 28.16 kB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.9074, allocations: 31.42 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.9074, allocations: 0 / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.9277, allocations: 1.9 MB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.928, allocations: 143.4 kB / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.433, allocations: 0 / 1.117 GB, free: 2.453 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)