Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001655/0.001655, allocations: 106.5 kB / 19.69 MB, free: 2.277 MB / 14.72 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.00199/0.00199, allocations: 218.1 kB / 23.01 MB, free: 4.605 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7714 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 65.69 kB / 1.119 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 169.9 MB / 1.285 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00198/0.3383, allocations: 0.7841 MB / 1.285 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3393, allocations: 0.8588 MB / 1.286 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.3394, allocations: 4 kB / 1.286 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.3396, allocations: 47.81 kB / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.3396, allocations: 39.81 kB / 1.286 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.02e-05/0.3397, allocations: 19.97 kB / 1.286 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3399, allocations: 87.77 kB / 1.286 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.34, allocations: 19.97 kB / 1.286 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.3401, allocations: 55.77 kB / 1.287 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3402, allocations: 87.77 kB / 1.287 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.3403, allocations: 8 kB / 1.287 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.3403, allocations: 8 kB / 1.287 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.3403, allocations: 35.91 kB / 1.287 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3404, allocations: 43.73 kB / 1.287 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.3406, allocations: 123.4 kB / 1.287 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3406, allocations: 0 / 1.287 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3406, allocations: 0 / 1.287 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3406, allocations: 0 / 1.287 GB, free: 1.152 MB / 0.9825 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.0007672/0.3413, allocations: 395.2 kB / 1.287 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3414, allocations: 8.031 kB / 1.287 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3414, allocations: 12.84 kB / 1.287 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.3416, allocations: 150.2 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3416, allocations: 8.375 kB / 1.287 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3416, allocations: 8.375 kB / 1.287 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.3421, allocations: 151.8 kB / 1.288 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3421, allocations: 192 / 1.288 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3421, allocations: 3.938 kB / 1.288 GB, free: 372 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3421, allocations: 4 kB / 1.288 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.3426, allocations: 175.8 kB / 1.288 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.3435, allocations: 483.9 kB / 1.288 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.3439, allocations: 161.1 kB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.3442, allocations: 97.73 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3442, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3443, allocations: 34.55 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.3443, allocations: 0 / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0009291/0.3452, allocations: 281.4 kB / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.3452, allocations: 81.11 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3454, allocations: 168.6 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3454, allocations: 25.7 kB / 1.289 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.3455, allocations: 104.1 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.3455, allocations: 31.67 kB / 1.289 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.3456, allocations: 29.72 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3457, allocations: 326.8 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.346, allocations: 71.92 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.3462, allocations: 97.62 kB / 1.29 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.3467, allocations: 169.6 kB / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3467, allocations: 0 / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005591/0.3473, allocations: 209.4 kB / 1.29 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3473, allocations: 4 kB / 1.29 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3473, allocations: 4 kB / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3473, allocations: 0 / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3475, allocations: 35.95 kB / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3475, allocations: 0 / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3476, allocations: 27.95 kB / 1.29 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3477, allocations: 8 kB / 1.29 GB, free: 13.63 MB / 0.9981 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 0.0001014/0.3478, allocations: 125.7 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3478, allocations: 24.3 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.3479, allocations: 20.34 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3479, allocations: 0 / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3479, allocations: 4 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3479, allocations: 7.984 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3482, allocations: 204.5 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3482, allocations: 0 / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3483, allocations: 35.95 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3484, allocations: 0 / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3484, allocations: 0 / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3484, allocations: 4 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3484, allocations: 0 / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.349, allocations: 386.5 kB / 1.291 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.349, allocations: 7.953 kB / 1.291 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.349, allocations: 4 kB / 1.291 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3492, allocations: 31.95 kB / 1.291 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.3493, allocations: 7.984 kB / 1.291 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3493, allocations: 0 / 1.291 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.3494, allocations: 126.8 kB / 1.291 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 0 / 1.291 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002726/0.3497, allocations: 23.94 kB / 1.291 GB, free: 12.57 MB / 0.9981 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.0001355/0.3498, allocations: 95.25 kB / 1.291 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000554/0.3503, allocations: 175.7 kB / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3503, allocations: 0 / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.3506, allocations: 91.86 kB / 1.291 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.351, allocations: 14.03 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.3515, allocations: 285 kB / 1.292 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3519, allocations: 0.708 MB / 1.292 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.3519, allocations: 15.44 kB / 1.292 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3519, allocations: 0 / 1.292 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of Templates: time 0.00328/0.3552, allocations: 1.493 MB / 1.294 GB, free: 9.645 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.216929526999593]