Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 252 MB / 267.9 MB, free: 10.94 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.0009101/0.0009098, allocations: 186.2 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007155/0.0007158, allocations: 82.38 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 15.69 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 106.3 MB / 0.9013 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.3776, allocations: 131.5 MB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.3779, allocations: 71.94 kB / 1.03 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004122/0.3821, allocations: 1.46 MB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3821, allocations: 0 / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.3821, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6823 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.0006522/0.3828, allocations: 470.9 kB / 1.032 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3828, allocations: 12.02 kB / 1.032 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.3829, allocations: 16.84 kB / 1.032 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.3831, allocations: 216.5 kB / 1.032 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3831, allocations: 4.375 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3832, allocations: 4.375 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.3836, allocations: 167.9 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3836, allocations: 192 / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3836, allocations: 3.938 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3836, allocations: 4 kB / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.3841, allocations: 207.8 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.385, allocations: 0.5125 MB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.3854, allocations: 185.1 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.3856, allocations: 109.7 kB / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3857, allocations: 0 / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3857, allocations: 34.56 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.3857, allocations: 0 / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008318/0.3865, allocations: 341.6 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3866, allocations: 81.05 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3867, allocations: 164.4 kB / 1.034 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3868, allocations: 25.7 kB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.3868, allocations: 104.1 kB / 1.034 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3869, allocations: 23.62 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-06/0.3869, allocations: 0 / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.387, allocations: 330.8 kB / 1.034 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.3872, allocations: 91.92 kB / 1.034 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3875, allocations: 117.6 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.3879, allocations: 209.5 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.3879, allocations: 0 / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004847/0.3884, allocations: 229.4 kB / 1.035 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3885, allocations: 12 kB / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3885, allocations: 0 / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3885, allocations: 0 / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3887, allocations: 47.95 kB / 1.035 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3887, allocations: 0 / 1.035 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3889, allocations: 47.73 kB / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3889, allocations: 4 kB / 1.035 GB, free: 6.555 MB / 0.6823 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.0001061/0.389, allocations: 129.8 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.389, allocations: 11.91 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3891, allocations: 16.25 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3891, allocations: 0 / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3891, allocations: 0 / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3891, allocations: 8 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.3894, allocations: 229.5 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3894, allocations: 0 / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.3896, allocations: 43.97 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3896, allocations: 0 / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3896, allocations: 0 / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3896, allocations: 3.984 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3896, allocations: 8 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.3902, allocations: 408 kB / 1.036 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.3902, allocations: 85.02 kB / 1.036 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3903, allocations: 8 kB / 1.036 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3905, allocations: 39.95 kB / 1.036 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.3905, allocations: 11.98 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3905, allocations: 0 / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.831e-05/0.3906, allocations: 128.1 kB / 1.036 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3906, allocations: 0 / 1.036 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002474/0.3909, allocations: 20 kB / 1.036 GB, free: 5.332 MB / 0.6823 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.0001605/0.3911, allocations: 107.1 kB / 1.036 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.3916, allocations: 207.7 kB / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3916, allocations: 4 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.3918, allocations: 107.8 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3922, allocations: 22.39 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.3927, allocations: 270.8 kB / 1.037 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.393, allocations: 0.719 MB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.189e-05/0.3931, allocations: 27.97 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.3931, allocations: 11.44 kB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3931, allocations: 0 / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of Templates: time 0.002981/0.3961, allocations: 0.9541 MB / 1.038 GB, free: 2.863 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)