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.63/1.63, allocations: 285.4 MB / 298 MB, free: 5.973 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.001066/0.001066, allocations: 184.8 kB / 366.4 MB, free: 2.066 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.431/1.431, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.000805/0.0008051, allocations: 93.05 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.626e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7469, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.9714, allocations: 137.5 MB / 1.105 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.9718, allocations: 63.97 kB / 1.105 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004697/0.9765, allocations: 1.416 MB / 1.107 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9765, allocations: 0.5312 kB / 1.107 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.9766, allocations: 0 / 1.107 GB, free: 12.82 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.0006742/0.9773, allocations: 458.9 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.9773, allocations: 12.03 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.9774, allocations: 39.42 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.9775, allocations: 9.031 kB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.9778, allocations: 209.2 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.9778, allocations: 3.984 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.9778, allocations: 8 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.9782, allocations: 108.7 kB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9782, allocations: 0 / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.9782, allocations: 4 kB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.9782, allocations: 7.984 kB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.9784, allocations: 102.8 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.9795, allocations: 0.5222 MB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.9798, allocations: 129.1 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.9799, allocations: 60.52 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.9799, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.98, allocations: 38.06 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.98, allocations: 0 / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003839/0.9804, allocations: 133.5 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.9804, allocations: 81.11 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.9806, allocations: 158.2 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9806, allocations: 25.7 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.9807, allocations: 108 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.9808, allocations: 31.58 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.9808, allocations: 0 / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.981, allocations: 318.8 kB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.9811, allocations: 51.91 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.9812, allocations: 53.7 kB / 1.109 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.9813, allocations: 52.05 kB / 1.109 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9813, allocations: 0 / 1.109 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000239/0.9816, allocations: 141.4 kB / 1.109 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.9816, allocations: 9.406 kB / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9816, allocations: 1.406 kB / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9816, allocations: 0 / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.9819, allocations: 47.95 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.9819, allocations: 2.031 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.9821, allocations: 39.91 kB / 1.11 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.9821, allocations: 4 kB / 1.11 GB, free: 9.676 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.0001217/0.9823, allocations: 101 kB / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.9823, allocations: 11.91 kB / 1.11 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.9824, allocations: 20.03 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.9824, allocations: 4 kB / 1.11 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9824, allocations: 0 / 1.11 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.9825, allocations: 3.984 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.9829, allocations: 229.4 kB / 1.11 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9829, allocations: 4 kB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.9831, allocations: 47.89 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9831, allocations: 1.875 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.9832, allocations: 4 kB / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.9832, allocations: 0 / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9832, allocations: 0 / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.9836, allocations: 312.4 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.9837, allocations: 92.94 kB / 1.11 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.9837, allocations: 12 kB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.9839, allocations: 27.97 kB / 1.11 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.984, allocations: 15.92 kB / 1.11 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.984, allocations: 0 / 1.11 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001157/0.9841, allocations: 132 kB / 1.111 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.787e-06/0.9842, allocations: 4 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002766/0.9844, allocations: 23.84 kB / 1.111 GB, free: 8.547 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.0009443/0.9854, allocations: 0.9188 MB / 1.111 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.9857, allocations: 103.9 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9857, allocations: 0 / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.9858, allocations: 55.92 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.9862, allocations: 21.14 kB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.9869, allocations: 227.9 kB / 1.112 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.9873, allocations: 0.716 MB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.366e-05/0.9874, allocations: 28.44 kB / 1.113 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.9875, allocations: 23.42 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.9875, allocations: 0 / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/1.003, allocations: 2.294 MB / 1.115 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.003, allocations: 182.1 kB / 1.115 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.737, allocations: 4 kB / 1.115 GB, free: 4.047 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)