Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001313/0.001313, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001541/0.001541, allocations: 213.5 kB / 22.99 MB, free: 4.984 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.571/1.571, allocations: 230.6 MB / 256.8 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.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [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.002102/0.002102, allocations: 70.16 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4446, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002286/0.4469, allocations: 0.7326 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.4471, allocations: 52.23 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.4472, allocations: 3.938 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.4473, allocations: 19.86 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.4474, allocations: 15.92 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.4476, allocations: 23.95 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.4478, allocations: 127.7 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.448, allocations: 84.84 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.4481, allocations: 75.7 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.4482, allocations: 71.64 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.4482, allocations: 12 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.503e-05/0.4483, allocations: 12 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.4484, allocations: 51.84 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.4484, allocations: 67.55 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.4487, allocations: 247 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4487, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4487, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4487, allocations: 0 / 1.329 GB, free: 15.35 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006464/0.4494, allocations: 439.5 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4494, allocations: 16.03 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.4495, allocations: 24.75 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.4498, allocations: 202.1 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4498, allocations: 16.69 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.4499, allocations: 20.38 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.4504, allocations: 345.1 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4504, allocations: 3.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.4504, allocations: 4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.4505, allocations: 15.94 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.4508, allocations: 267.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.4521, allocations: 0.9216 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.4522, allocations: 169.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.4522, allocations: 80.14 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.4523, allocations: 79.28 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.4523, allocations: 109.8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4523, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.471e-05/0.4524, allocations: 41.73 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.4525, allocations: 130.7 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.4528, allocations: 271.2 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4529, allocations: 25.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.453, allocations: 187.9 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.453, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.4531, allocations: 29.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4532, allocations: 334.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.4533, allocations: 43.95 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4534, allocations: 98.83 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.4536, allocations: 122.6 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4536, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003268/0.4539, allocations: 181.4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4539, allocations: 5.875 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4539, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.454, allocations: 12.17 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4541, allocations: 23.94 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4541, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.4542, allocations: 19.92 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4542, allocations: 8 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001887/0.4544, allocations: 245.6 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.229e-05/0.4545, allocations: 124.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.4545, allocations: 121.4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.881e-05/0.4546, allocations: 180.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.313e-05/0.4547, allocations: 184.2 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/0.4548, allocations: 180.3 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.4551, allocations: 432.8 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.821e-05/0.4551, allocations: 101 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.4552, allocations: 108.9 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.877e-05/0.4552, allocations: 184.2 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/0.4553, allocations: 180.3 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.895e-05/0.4554, allocations: 188.1 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.272e-05/0.4555, allocations: 176.3 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.4557, allocations: 323.7 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.4557, allocations: 108.9 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.4558, allocations: 180.5 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4559, allocations: 108.9 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.456, allocations: 192.2 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.4561, allocations: 101 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001864/0.4563, allocations: 192.5 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4563, allocations: 0 / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003267/0.4566, allocations: 47.78 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001639/0.4567, allocations: 168.8 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.4569, allocations: 76.19 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4569, allocations: 4.125 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.4569, allocations: 0 / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.4575, allocations: 471.6 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.4581, allocations: 442.9 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.4583, allocations: 171.5 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.719e-05/0.4584, allocations: 28.41 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.4584, allocations: 15.44 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4584, allocations: 0 / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of Templates: time 0.004054/0.4625, allocations: 1.159 MB / 1.339 GB, free: 4.605 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.523465064004995]