Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8937/0.8937, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.792/1.792, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.1e-05, allocations: 6.219 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001886/0.001917, allocations: 0.7457 MB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003021, allocations: 0.847 MB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.003081, allocations: 3.938 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.003305, allocations: 63.73 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.003369, allocations: 35.81 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 9.306e-05/0.003462, allocations: 19.97 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.003601, allocations: 87.77 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.00374, allocations: 15.92 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003845, allocations: 59.88 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.004001, allocations: 83.81 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.004036, allocations: 8 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.004052, allocations: 8 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.004122, allocations: 35.91 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.004172, allocations: 27.86 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004341, allocations: 119.6 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.004345, allocations: 4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.462e-06/0.004347, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.004352, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 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.0007051/0.005057, allocations: 389.7 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.005105, allocations: 15.98 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.005149, allocations: 8.891 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.00534, allocations: 153.5 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005354, allocations: 8.375 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.005369, allocations: 384 / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.005726, allocations: 159.9 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005736, allocations: 8.109 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.00575, allocations: 384 / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005756, allocations: 384 / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.006172, allocations: 175.8 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.006837, allocations: 432.6 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.007165, allocations: 153.1 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.007305, allocations: 98.52 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.007319, allocations: 0 / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.007344, allocations: 42.44 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.007345, allocations: 0 / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0005011/0.007846, allocations: 285.3 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.007887, allocations: 81.11 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.007983, allocations: 154.3 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.007996, allocations: 33.7 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.008059, allocations: 104.1 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.008087, allocations: 31.72 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.008124, allocations: 25.7 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.008203, allocations: 322.8 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.00833, allocations: 75.92 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.008461, allocations: 93.58 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.008711, allocations: 177.5 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.008714, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002851/0.008999, allocations: 209.9 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.009013, allocations: 8 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.009018, allocations: 0 / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.009033, allocations: 7.984 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.009151, allocations: 35.91 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.009156, allocations: 0 / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.009219, allocations: 27.95 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.009226, allocations: 4 kB / 1.006 GB, free: 7.305 MB / 0.9636 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/0.0093, allocations: 129.8 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.009327, allocations: 19.83 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.009358, allocations: 24.34 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.009361, allocations: 4 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.009365, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009369, allocations: 3.984 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.009524, allocations: 153.3 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009526, allocations: 0 / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.009604, allocations: 35.95 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.009606, allocations: 0 / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.009615, allocations: 3.938 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.009616, allocations: 3.938 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009617, allocations: 4 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.009947, allocations: 382.7 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.009957, allocations: 7.953 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.009974, allocations: 11.92 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.01007, allocations: 23.97 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.01012, allocations: 11.98 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.01012, allocations: 0 / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.159e-05/0.01018, allocations: 132 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01018, allocations: 0 / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001863/0.01037, allocations: 19.94 kB / 1.007 GB, free: 6.289 MB / 0.9636 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.01048, allocations: 103.2 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.01078, allocations: 167.8 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01078, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.01092, allocations: 87.86 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01117, allocations: 11.98 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.01156, allocations: 296 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.01164, allocations: 97.12 kB / 1.008 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.01168, allocations: 12.5 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.01168, allocations: 0 / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of Templates: time 0.002216/0.0139, allocations: 1.551 MB / 1.009 GB, free: 3.918 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.6624307837337255]