Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001841/0.001841, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002363/0.002363, allocations: 213.5 kB / 22.24 MB, free: 5.258 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.331/3.331, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002161/0.002161, allocations: 72.12 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3994, allocations: 176.1 MB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.0023/0.4017, allocations: 0.7469 MB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.403, allocations: 0.8627 MB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.403, allocations: 0 / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.4033, allocations: 63.78 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.4034, allocations: 31.84 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.9e-05/0.4035, allocations: 19.97 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.4037, allocations: 91.81 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4038, allocations: 11.94 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.4039, allocations: 43.89 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.4041, allocations: 91.62 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.4041, allocations: 12 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.4041, allocations: 8 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.4042, allocations: 35.91 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.4043, allocations: 35.73 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4045, allocations: 119.5 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4045, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4045, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4045, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 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.0009066/0.4054, allocations: 393.7 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4055, allocations: 8.031 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.4055, allocations: 16.84 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.4058, allocations: 148.1 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4058, allocations: 384 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.4058, allocations: 4.375 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.4063, allocations: 147.9 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4063, allocations: 8.125 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.4063, allocations: 7.938 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4063, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/0.4068, allocations: 167.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.4077, allocations: 440.5 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.4082, allocations: 165.1 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.4084, allocations: 93.73 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4084, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4085, allocations: 34.5 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.4085, allocations: 7.938 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0009336/0.4094, allocations: 285.3 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.4095, allocations: 77.11 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4097, allocations: 164.6 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4097, allocations: 25.7 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.4098, allocations: 112.1 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.4099, allocations: 27.73 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.4099, allocations: 21.72 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4101, allocations: 322.8 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.4103, allocations: 79.92 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.4106, allocations: 97.61 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.4111, allocations: 173.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4111, allocations: 7.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005327/0.4116, allocations: 201.5 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4116, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4116, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4116, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.4119, allocations: 47.83 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4119, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.412, allocations: 23.92 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.412, allocations: 8 kB / 1.331 GB, free: 12.15 MB / 1.029 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.000122/0.4121, allocations: 126.3 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.4122, allocations: 11.95 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.4122, allocations: 24.33 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4122, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4123, allocations: 480 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4123, allocations: 8 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.4125, allocations: 157.2 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4125, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.4127, allocations: 35.95 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4127, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4127, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4127, allocations: 3.938 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.4127, allocations: 3.984 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.4134, allocations: 386.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.4134, allocations: 7.953 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.4134, allocations: 3.938 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.4136, allocations: 27.95 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.4136, allocations: 7.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4137, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000103/0.4138, allocations: 129.2 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4138, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002701/0.414, allocations: 16 kB / 1.332 GB, free: 11.15 MB / 1.029 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.0001676/0.4142, allocations: 99.19 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.4148, allocations: 175.8 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4148, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.415, allocations: 91.86 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4154, allocations: 11.94 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.4161, allocations: 259.2 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.4162, allocations: 105.4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.4163, allocations: 23.97 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.4164, allocations: 11.44 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4164, allocations: 3.938 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Templates: time 0.004938/0.4213, allocations: 1.324 MB / 1.334 GB, free: 9.02 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.746992787346244]