Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001441/0.001441, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001605/0.001605, allocations: 217.4 kB / 22.25 MB, free: 5.078 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.479/3.479, allocations: 0.5096 GB / 0.8147 GB, free: 17.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002187/0.002187, allocations: 66.42 kB / 1.184 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4488, allocations: 181.4 MB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002871/0.4517, allocations: 0.7475 MB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003013/0.452, allocations: 52.23 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.4521, allocations: 7.938 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.4522, allocations: 19.86 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.4523, allocations: 11.92 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.4525, allocations: 35.92 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.4527, allocations: 123.6 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.453, allocations: 84.84 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.4531, allocations: 75.78 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.4532, allocations: 79.62 kB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.4532, allocations: 12 kB / 1.363 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.129e-05/0.4533, allocations: 16 kB / 1.363 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.679e-05/0.4534, allocations: 47.86 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.4535, allocations: 83.42 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.4538, allocations: 235 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4538, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4538, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.4538, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 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.0006676/0.4545, allocations: 445.6 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4545, allocations: 12.03 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.4546, allocations: 24.8 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.4549, allocations: 202 kB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4549, allocations: 16.73 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.455, allocations: 20.38 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.4556, allocations: 340.9 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4556, allocations: 7.938 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.4556, allocations: 4 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.4557, allocations: 19.98 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.456, allocations: 263.8 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.4575, allocations: 1.061 MB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4576, allocations: 173.1 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.4577, allocations: 88.06 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/0.4577, allocations: 75.28 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.4578, allocations: 114 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.4578, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001246/0.4579, allocations: 57.5 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.458, allocations: 126.7 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/0.4586, allocations: 0.5004 MB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4586, allocations: 25.7 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.4588, allocations: 171.9 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.4588, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.4589, allocations: 29.7 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4591, allocations: 346.8 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.4591, allocations: 51.94 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4593, allocations: 102.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.4594, allocations: 114.8 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4594, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003503/0.4598, allocations: 189.3 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4598, allocations: 11.94 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4598, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4598, allocations: 4 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4599, allocations: 27.92 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4599, allocations: 0 / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.4601, allocations: 39.72 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.4601, allocations: 8 kB / 1.368 GB, free: 9.625 MB / 1.061 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.0001971/0.4603, allocations: 249.3 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4604, allocations: 132.7 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.4605, allocations: 130.8 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.538e-05/0.4606, allocations: 184.2 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.399e-05/0.4606, allocations: 180.2 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.827e-05/0.4607, allocations: 180.3 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.4611, allocations: 472.2 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-05/0.4611, allocations: 101 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.4612, allocations: 105 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.54e-05/0.4613, allocations: 185.1 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.4614, allocations: 184.2 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.929e-05/0.4615, allocations: 184.2 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.162e-05/0.4615, allocations: 180.2 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.4617, allocations: 331.6 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4619, allocations: 140.8 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.462, allocations: 188.4 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4621, allocations: 112.9 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.4622, allocations: 188.2 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.4623, allocations: 105 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004462/0.4627, allocations: 367 kB / 1.371 GB, free: 5.609 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4627, allocations: 0 / 1.371 GB, free: 5.609 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003013/0.463, allocations: 28 kB / 1.371 GB, free: 5.582 MB / 1.061 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.0001807/0.4632, allocations: 170.5 kB / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.4634, allocations: 63.89 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4634, allocations: 0 / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-06/0.4634, allocations: 3.938 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.4641, allocations: 490.8 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.4648, allocations: 482.8 kB / 1.372 GB, free: 4.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.4653, allocations: 0.7749 MB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.4654, allocations: 49.62 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.4655, allocations: 23.44 kB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4655, allocations: 0 / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of Templates: time 0.005419/0.4709, allocations: 1.793 MB / 1.375 GB, free: 1.703 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.911664751823992]