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.001423/0.001423, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001615/0.001615, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.793 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.996/2.996, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.002127/0.002127, allocations: 67.91 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4031, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002869/0.406, allocations: 0.7587 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.4079, allocations: 0.8471 MB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.408, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.4084, allocations: 55.8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.4086, allocations: 39.77 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.4087, allocations: 19.97 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.4089, allocations: 91.75 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.4091, allocations: 23.92 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4092, allocations: 39.89 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.4095, allocations: 83.78 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.4095, allocations: 8 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.4095, allocations: 8 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.4096, allocations: 35.89 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.4097, allocations: 43.72 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.4099, allocations: 115.5 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4099, allocations: 0 / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4099, allocations: 0 / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.4099, allocations: 4 kB / 1.285 GB, free: 9.727 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.001023/0.411, allocations: 393.6 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.411, allocations: 12.03 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.4111, allocations: 12.84 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.4114, allocations: 150.3 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4114, allocations: 384 / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.4114, allocations: 8.375 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.4119, allocations: 147.9 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4119, allocations: 7.922 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4119, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.4119, allocations: 3.938 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.4125, allocations: 167.8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.4134, allocations: 448.4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.4138, allocations: 153.1 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.4141, allocations: 101.7 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4141, allocations: 0 / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.4142, allocations: 38.5 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.4142, allocations: 3.938 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009804/0.4152, allocations: 277.4 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.4152, allocations: 85.03 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.4154, allocations: 160.7 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.4154, allocations: 25.7 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4155, allocations: 108.1 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.4156, allocations: 27.75 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.4156, allocations: 17.72 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4158, allocations: 330.8 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.4161, allocations: 75.92 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.4163, allocations: 93.62 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.4168, allocations: 181.9 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4168, allocations: 7.875 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005727/0.4174, allocations: 197.5 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4174, allocations: 8 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.4174, allocations: 8 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4175, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4177, allocations: 39.89 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4177, allocations: 0 / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.4178, allocations: 23.95 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4178, allocations: 4 kB / 1.288 GB, free: 6.27 MB / 0.9825 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.000123/0.418, allocations: 133.8 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.418, allocations: 15.91 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.4181, allocations: 16.34 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4181, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4181, allocations: 4 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4181, allocations: 0 / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.4184, allocations: 165.1 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4184, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.4186, allocations: 31.97 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4186, allocations: 4 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4186, allocations: 7.984 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4186, allocations: 0 / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4186, allocations: 3.938 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.4193, allocations: 382.7 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.4193, allocations: 11.95 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.4193, allocations: 3.938 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4195, allocations: 31.95 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.4196, allocations: 11.98 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.4196, allocations: 0 / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000119/0.4197, allocations: 126.5 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4197, allocations: 0 / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000276/0.42, allocations: 16 kB / 1.289 GB, free: 5.266 MB / 0.9825 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.0001428/0.4201, allocations: 107.2 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006136/0.4207, allocations: 163.8 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4207, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.421, allocations: 87.86 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.4215, allocations: 19.92 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.4222, allocations: 254 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.4224, allocations: 100.2 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.13e-05/0.4225, allocations: 27.91 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.4225, allocations: 15.44 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4225, allocations: 4 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of Templates: time 0.004769/0.4273, allocations: 1.32 MB / 1.291 GB, free: 3.141 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins/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: 9.708371309563518]