Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.575/1.575, allocations: 297.8 MB / 313.7 MB, free: 100 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 179.3 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007428/0.0007425, allocations: 102.6 kB / 0.7808 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 16 kB / 0.9088 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6024/0.6028, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/0.7791, allocations: 140.8 MB / 1.164 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.7794, allocations: 68.41 kB / 1.164 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003936/0.7833, allocations: 1.415 MB / 1.165 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7834, allocations: 0 / 1.165 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.7834, allocations: 4 kB / 1.165 GB, free: 1.449 MB / 0.7292 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.0005967/0.784, allocations: 475.2 kB / 1.166 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.784, allocations: 12.03 kB / 1.166 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.7841, allocations: 12.75 kB / 1.166 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.7843, allocations: 209 kB / 1.166 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.7843, allocations: 9.625 kB / 1.166 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.7843, allocations: 4.375 kB / 1.166 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.7847, allocations: 169.6 kB / 1.166 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.7847, allocations: 192 / 1.166 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.7848, allocations: 4.562 kB / 1.166 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7848, allocations: 2.734 kB / 1.166 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.7853, allocations: 210.2 kB / 1.166 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.786, allocations: 0.5088 MB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.7864, allocations: 184.3 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.7867, allocations: 112.4 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.7867, allocations: 0.7969 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.7868, allocations: 33.77 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.7868, allocations: 4 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0009046/0.7877, allocations: 334.2 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.7878, allocations: 77.77 kB / 1.168 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.7879, allocations: 175.2 kB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.788, allocations: 25.7 kB / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.788, allocations: 107.2 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.7881, allocations: 22.3 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.7881, allocations: 0 / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7882, allocations: 326.6 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.7884, allocations: 91.73 kB / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.7887, allocations: 120 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.7892, allocations: 204.2 kB / 1.169 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7892, allocations: 4 kB / 1.169 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000516/0.7897, allocations: 235.7 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7897, allocations: 4 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7897, allocations: 4 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7898, allocations: 2.391 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.79, allocations: 48.33 kB / 1.169 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.79, allocations: 5.5 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.7902, allocations: 34.02 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.7902, allocations: 0 / 1.169 GB, free: 14 MB / 0.7448 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 () * Number of clocked 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.0001027/0.7903, allocations: 142 kB / 1.169 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.7903, allocations: 7.906 kB / 1.169 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.7904, allocations: 22.36 kB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7904, allocations: 0 / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7904, allocations: 0.7031 kB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.7904, allocations: 0 / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.7907, allocations: 229.8 kB / 1.169 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7907, allocations: 0 / 1.169 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.7909, allocations: 51.56 kB / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7909, allocations: 5.125 kB / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.7909, allocations: 1.656 kB / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7909, allocations: 0 / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7909, allocations: 0 / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.7915, allocations: 413.5 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.7916, allocations: 85.62 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.7916, allocations: 5.219 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.7918, allocations: 34.08 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.7919, allocations: 12.27 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.7919, allocations: 5 kB / 1.17 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.062e-05/0.792, allocations: 128.6 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.792, allocations: 0 / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002371/0.7922, allocations: 17.22 kB / 1.17 GB, free: 12.89 MB / 0.7448 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 () * Number of clocked 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.0001346/0.7924, allocations: 103.9 kB / 1.17 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.7929, allocations: 218 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7929, allocations: 0 / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.7932, allocations: 104.7 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.7935, allocations: 17.91 kB / 1.17 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.794, allocations: 269.4 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.7943, allocations: 0.7151 MB / 1.171 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.886e-05/0.7944, allocations: 28.72 kB / 1.171 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.7945, allocations: 12.09 kB / 1.171 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of SimCode: time 1.944e-06/0.7945, allocations: 0 / 1.171 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.003165/0.7976, allocations: 0.9555 MB / 1.172 GB, free: 10.96 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)