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.00171/0.00171, allocations: 110.2 kB / 19.69 MB, free: 2.254 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: 209 kB / 23 MB, free: 4.57 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.102/3.102, allocations: 0.49 GB / 0.7958 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.00204/0.00204, allocations: 72.19 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3444, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002001/0.3464, allocations: 0.7834 MB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3475, allocations: 0.8626 MB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.3475, allocations: 4 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3477, allocations: 55.8 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.3478, allocations: 39.81 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.52e-05/0.3479, allocations: 23.97 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.348, allocations: 79.77 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3481, allocations: 23.92 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.3482, allocations: 43.89 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3484, allocations: 87.77 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3484, allocations: 8 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.3484, allocations: 8 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.3485, allocations: 35.91 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.3486, allocations: 47.67 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.3487, allocations: 115.5 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3487, allocations: 3.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3487, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3487, allocations: 0 / 1.329 GB, free: 15.24 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.0007819/0.3495, allocations: 393.7 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3496, allocations: 8.031 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.3496, allocations: 16.84 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.3498, allocations: 146.3 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3498, allocations: 4.375 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3498, allocations: 8.375 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.3503, allocations: 151.8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3503, allocations: 4.125 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3503, allocations: 3.938 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3503, allocations: 4 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.3508, allocations: 171.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.3517, allocations: 487.8 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.3522, allocations: 153.1 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.3524, allocations: 101.7 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3524, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3525, allocations: 38.48 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.3525, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0009182/0.3534, allocations: 285.4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3535, allocations: 77.11 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3536, allocations: 168.4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3536, allocations: 29.7 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.3537, allocations: 100.1 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3538, allocations: 35.72 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.3538, allocations: 25.72 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3539, allocations: 326.8 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.3542, allocations: 75.92 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3545, allocations: 93.62 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.3549, allocations: 173.5 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3549, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005466/0.3555, allocations: 205.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3555, allocations: 9.875 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3555, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3555, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3557, allocations: 39.89 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3557, allocations: 0 / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3559, allocations: 35.91 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3559, allocations: 4 kB / 1.333 GB, free: 11.71 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.0001313/0.356, allocations: 126.3 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.3561, allocations: 7.953 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.3561, allocations: 24.8 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3561, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3561, allocations: 4 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3561, allocations: 0 / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.3564, allocations: 200.5 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3564, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3566, allocations: 39.94 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3566, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3566, allocations: 8 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3566, allocations: 7.875 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3566, allocations: 3.938 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.3573, allocations: 390.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.3573, allocations: 7.953 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3573, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.3575, allocations: 31.95 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.3576, allocations: 7.984 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3576, allocations: 8 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.888e-05/0.3577, allocations: 117.7 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3577, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00028/0.358, allocations: 20 kB / 1.334 GB, free: 10.65 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.0001252/0.3581, allocations: 99.19 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005584/0.3587, allocations: 171.8 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3587, allocations: 0 / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3589, allocations: 91.86 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3593, allocations: 12 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.3599, allocations: 292.9 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3602, allocations: 0.7119 MB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.3603, allocations: 11.44 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3603, allocations: 0 / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of Templates: time 0.003304/0.3636, allocations: 1.499 MB / 1.336 GB, free: 7.707 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/jenkins1/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: 11.20580074499594]