Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 183.9 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.494/2.494, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009807/0.0009806, allocations: 101.7 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007058/0.0007062, allocations: 15.03 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.278, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.543, allocations: 131.3 MB / 1.028 GB, free: 14.13 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.5433, allocations: 75.95 kB / 1.028 GB, free: 14.05 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.006621/0.55, allocations: 1.456 MB / 1.029 GB, free: 12.59 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.974e-06/0.55, allocations: 4 kB / 1.029 GB, free: 12.59 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.5501, allocations: 4 kB / 1.029 GB, free: 12.59 MB / 0.6824 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.001031/0.5511, allocations: 474.8 kB / 1.03 GB, free: 12.07 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5512, allocations: 12.03 kB / 1.03 GB, free: 12.06 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.5512, allocations: 12.84 kB / 1.03 GB, free: 12.05 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.5515, allocations: 209.1 kB / 1.03 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5516, allocations: 8.312 kB / 1.03 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.5516, allocations: 8.375 kB / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.5523, allocations: 163.9 kB / 1.03 GB, free: 11.62 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5523, allocations: 192 / 1.03 GB, free: 11.62 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5523, allocations: 11.88 kB / 1.03 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5524, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.5534, allocations: 207.8 kB / 1.03 GB, free: 11.4 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.5547, allocations: 0.5125 MB / 1.031 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.5555, allocations: 177.1 kB / 1.031 GB, free: 10.64 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.556, allocations: 113.7 kB / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.556, allocations: 0 / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.5561, allocations: 38.48 kB / 1.031 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.5561, allocations: 4 kB / 1.031 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of matching and sorting (n=8): time 0.001638/0.5577, allocations: 333.2 kB / 1.031 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.5578, allocations: 81.11 kB / 1.031 GB, free: 10.05 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.5581, allocations: 162.8 kB / 1.032 GB, free: 9.875 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.5581, allocations: 29.7 kB / 1.032 GB, free: 9.84 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.5582, allocations: 104.1 kB / 1.032 GB, free: 9.734 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.5583, allocations: 31.55 kB / 1.032 GB, free: 9.703 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.5583, allocations: 0 / 1.032 GB, free: 9.703 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5585, allocations: 330.8 kB / 1.032 GB, free: 9.371 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/0.559, allocations: 87.92 kB / 1.032 GB, free: 9.285 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.5595, allocations: 109.6 kB / 1.032 GB, free: 9.172 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.56, allocations: 104.3 kB / 1.032 GB, free: 9.07 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5601, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6824 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001089/0.5612, allocations: 241.4 kB / 1.033 GB, free: 8.828 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5612, allocations: 5.562 kB / 1.033 GB, free: 8.824 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5612, allocations: 0 / 1.033 GB, free: 8.824 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5612, allocations: 4 kB / 1.033 GB, free: 8.82 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.5617, allocations: 47.89 kB / 1.033 GB, free: 8.773 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.5617, allocations: 4 kB / 1.033 GB, free: 8.77 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.562, allocations: 39.8 kB / 1.033 GB, free: 8.73 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.562, allocations: 0 / 1.033 GB, free: 8.73 MB / 0.6824 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.0001588/0.5622, allocations: 133.7 kB / 1.033 GB, free: 8.59 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.5622, allocations: 11.89 kB / 1.033 GB, free: 8.578 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.5623, allocations: 20.25 kB / 1.033 GB, free: 8.555 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5623, allocations: 4 kB / 1.033 GB, free: 8.551 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5624, allocations: 0 / 1.033 GB, free: 8.551 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5624, allocations: 0 / 1.033 GB, free: 8.551 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.5628, allocations: 225.5 kB / 1.033 GB, free: 8.281 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5628, allocations: 0 / 1.033 GB, free: 8.281 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.5632, allocations: 43.95 kB / 1.033 GB, free: 8.238 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5632, allocations: 4 kB / 1.033 GB, free: 8.234 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.5633, allocations: 4 kB / 1.033 GB, free: 8.23 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5633, allocations: 0 / 1.033 GB, free: 8.23 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5633, allocations: 0 / 1.033 GB, free: 8.23 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5645, allocations: 426.3 kB / 1.034 GB, free: 7.797 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.5645, allocations: 85.02 kB / 1.034 GB, free: 7.695 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.5646, allocations: 0 / 1.034 GB, free: 7.695 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.5649, allocations: 39.89 kB / 1.034 GB, free: 7.656 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.565, allocations: 11.98 kB / 1.034 GB, free: 7.645 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.5651, allocations: 8 kB / 1.034 GB, free: 7.637 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001503/0.5652, allocations: 119.2 kB / 1.034 GB, free: 7.52 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5652, allocations: 0 / 1.034 GB, free: 7.52 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003552/0.5656, allocations: 16 kB / 1.034 GB, free: 7.504 MB / 0.6824 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.0001798/0.5658, allocations: 103.2 kB / 1.034 GB, free: 7.395 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.5669, allocations: 207.7 kB / 1.034 GB, free: 7.191 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5669, allocations: 4 kB / 1.034 GB, free: 7.188 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.5674, allocations: 107.9 kB / 1.034 GB, free: 7.082 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.5679, allocations: 18 kB / 1.034 GB, free: 7.066 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.5687, allocations: 278.2 kB / 1.034 GB, free: 6.758 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.5691, allocations: 0.7121 MB / 1.035 GB, free: 6.02 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.5692, allocations: 27.97 kB / 1.035 GB, free: 5.992 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.5693, allocations: 11.44 kB / 1.035 GB, free: 5.984 MB / 0.6824 GB Notification: Performance of SimCode: time 1.223e-06/0.5693, allocations: 4 kB / 1.035 GB, free: 5.98 MB / 0.6824 GB Notification: Performance of Templates: time 0.004475/0.5738, allocations: 0.9465 MB / 1.036 GB, free: 5.043 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)