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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001043, allocations: 16 kB / 0.6242 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7166, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002585/0.7193, allocations: 1.191 MB / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005611/0.7198, allocations: 132.5 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.72, allocations: 4 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.7202, allocations: 55.78 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.7204, allocations: 35.89 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.7206, allocations: 11.98 kB / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.7207, allocations: 55.91 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.721, allocations: 27.92 kB / 0.7295 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.7211, allocations: 31.84 kB / 0.7295 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.7213, allocations: 71.78 kB / 0.7296 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.7214, allocations: 4 kB / 0.7296 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.355e-05/0.7214, allocations: 4 kB / 0.7296 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.7215, allocations: 35.84 kB / 0.7296 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.7216, allocations: 37.7 kB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.7218, allocations: 75.83 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7218, allocations: 3.938 kB / 0.7297 GB, free: 9.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7218, allocations: 0 / 0.7297 GB, free: 9.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7218, allocations: 0 / 0.7297 GB, free: 9.66 MB / 0.545 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.00118/0.723, allocations: 468.8 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.7231, allocations: 15.97 kB / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.7232, allocations: 11.81 kB / 0.7302 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.7236, allocations: 202.8 kB / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.7236, allocations: 4 kB / 0.7304 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.7236, allocations: 4 kB / 0.7304 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.7242, allocations: 167.3 kB / 0.7306 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.7242, allocations: 7.938 kB / 0.7306 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.7242, allocations: 0 / 0.7306 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.7242, allocations: 4 kB / 0.7306 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.7248, allocations: 199.8 kB / 0.7308 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.7257, allocations: 0.5164 MB / 0.7313 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.7261, allocations: 181.1 kB / 0.7314 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.7261, allocations: 0 / 0.7314 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.7262, allocations: 42.58 kB / 0.7315 GB, free: 7.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.7262, allocations: 0 / 0.7315 GB, free: 7.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000924/0.7271, allocations: 329.3 kB / 0.7318 GB, free: 7.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.7272, allocations: 81.05 kB / 0.7319 GB, free: 7.258 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.7273, allocations: 171.9 kB / 0.732 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.7273, allocations: 25.7 kB / 0.7321 GB, free: 7.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.7274, allocations: 96.14 kB / 0.7321 GB, free: 6.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.7275, allocations: 35.53 kB / 0.7322 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.7275, allocations: 4 kB / 0.7322 GB, free: 6.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7276, allocations: 322.8 kB / 0.7325 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.7279, allocations: 95.92 kB / 0.7326 GB, free: 6.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.7282, allocations: 109.6 kB / 0.7327 GB, free: 6.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.7284, allocations: 99.92 kB / 0.7328 GB, free: 6.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.7284, allocations: 0 / 0.7328 GB, free: 6.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005534/0.729, allocations: 237.8 kB / 0.733 GB, free: 6.047 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.729, allocations: 10.34 kB / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.729, allocations: 4 kB / 0.733 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7291, allocations: 0 / 0.733 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.7293, allocations: 47.95 kB / 0.7331 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7293, allocations: 0 / 0.7331 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.7294, allocations: 35.92 kB / 0.7331 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.7295, allocations: 4 kB / 0.7331 GB, free: 5.949 MB / 0.545 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.0001085/0.7296, allocations: 133.7 kB / 0.7332 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.7296, allocations: 15.81 kB / 0.7332 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.7297, allocations: 20.23 kB / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7297, allocations: 0 / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7297, allocations: 0 / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7297, allocations: 0 / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.73, allocations: 233.5 kB / 0.7335 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.73, allocations: 0 / 0.7335 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.7302, allocations: 39.95 kB / 0.7335 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7302, allocations: 4 kB / 0.7335 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.7302, allocations: 4 kB / 0.7335 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7302, allocations: 0 / 0.7335 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7302, allocations: 0 / 0.7335 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.7309, allocations: 428.2 kB / 0.7339 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.7309, allocations: 92.92 kB / 0.734 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.731, allocations: 4 kB / 0.734 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.7312, allocations: 35.95 kB / 0.7341 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.7312, allocations: 7.984 kB / 0.7341 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.7313, allocations: 7.953 kB / 0.7341 GB, free: 4.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001052/0.7314, allocations: 122.1 kB / 0.7342 GB, free: 4.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7314, allocations: 0 / 0.7342 GB, free: 4.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002901/0.7317, allocations: 20 kB / 0.7342 GB, free: 4.699 MB / 0.545 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.0001741/0.7318, allocations: 102.8 kB / 0.7343 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.7324, allocations: 208 kB / 0.7345 GB, free: 4.391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7324, allocations: 0 / 0.7345 GB, free: 4.391 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.7327, allocations: 111.8 kB / 0.7346 GB, free: 4.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.733, allocations: 15.27 kB / 0.7346 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.7335, allocations: 282.2 kB / 0.7349 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.7338, allocations: 0.7121 MB / 0.7356 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.078e-05/0.7339, allocations: 27.97 kB / 0.7356 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.7339, allocations: 7.438 kB / 0.7356 GB, free: 3.191 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.7339, allocations: 4 kB / 0.7356 GB, free: 3.188 MB / 0.545 GB Notification: Performance of Templates: time 0.003747/0.7377, allocations: 0.9526 MB / 0.7366 GB, free: 2.242 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: