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.001832/0.001832, allocations: 102.1 kB / 19.7 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.002341/0.002341, allocations: 217.3 kB / 23.01 MB, free: 4.609 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.3/3.3, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002189/0.002189, allocations: 64.7 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3614, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001998/0.3634, allocations: 0.7591 MB / 1.355 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.3636, allocations: 52.23 kB / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.3637, allocations: 0 / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3638, allocations: 27.78 kB / 1.355 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.3639, allocations: 19.86 kB / 1.355 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.364, allocations: 23.97 kB / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.3642, allocations: 119.7 kB / 1.355 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.3645, allocations: 84.84 kB / 1.355 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.3646, allocations: 75.77 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3647, allocations: 71.64 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.3647, allocations: 12 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-05/0.3647, allocations: 20 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.3648, allocations: 47.86 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3649, allocations: 95.41 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3652, allocations: 230.9 kB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3652, allocations: 4 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3652, allocations: 0 / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3652, allocations: 0 / 1.356 GB, free: 6.305 MB / 1.045 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.0005903/0.3658, allocations: 445.5 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3658, allocations: 8.031 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.3659, allocations: 28.8 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.3662, allocations: 198.1 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3662, allocations: 16.75 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.3662, allocations: 16.38 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.3668, allocations: 348.9 kB / 1.357 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3668, allocations: 3.938 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3668, allocations: 8 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.3668, allocations: 11.98 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.3672, allocations: 267.8 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.3686, allocations: 1.061 MB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3687, allocations: 177 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.3687, allocations: 84.14 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.3687, allocations: 75.28 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.3688, allocations: 106 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3688, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001188/0.3689, allocations: 61.44 kB / 1.359 GB, free: 3.277 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.369, allocations: 126.7 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.3696, allocations: 0.5043 MB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3696, allocations: 25.7 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3697, allocations: 175.8 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.3697, allocations: 0 / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.3698, allocations: 29.7 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.37, allocations: 342.8 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.37, allocations: 51.95 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3701, allocations: 98.77 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3703, allocations: 122.7 kB / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3703, allocations: 0 / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003256/0.3706, allocations: 185.3 kB / 1.36 GB, free: 1.531 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3707, allocations: 12.19 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3707, allocations: 4 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3707, allocations: 4 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3708, allocations: 19.98 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3708, allocations: 0 / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3709, allocations: 43.72 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3709, allocations: 8 kB / 1.36 GB, free: 1.441 MB / 1.045 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.0001957/0.3711, allocations: 253 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.3712, allocations: 128.8 kB / 1.361 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-05/0.3713, allocations: 138.7 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.434e-05/0.3714, allocations: 180.2 kB / 1.361 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.533e-05/0.3715, allocations: 180.3 kB / 1.361 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.263e-05/0.3715, allocations: 184.2 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.3719, allocations: 464.3 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.04e-05/0.372, allocations: 108.9 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.372, allocations: 101 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.563e-05/0.3721, allocations: 188.1 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/0.3722, allocations: 188.2 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.187e-05/0.3723, allocations: 176.3 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.422e-05/0.3724, allocations: 180.8 kB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3726, allocations: 335.6 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3727, allocations: 136.8 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.3728, allocations: 192.5 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3729, allocations: 108.9 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.373, allocations: 188.3 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.3731, allocations: 101 kB / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004144/0.3735, allocations: 370.9 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3735, allocations: 0 / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002747/0.3738, allocations: 24 kB / 1.364 GB, free: 13.4 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.0001586/0.3739, allocations: 166.5 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.3741, allocations: 71.89 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3741, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.3741, allocations: 4 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.3747, allocations: 485 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.3754, allocations: 0.4971 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.3759, allocations: 0.7788 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.3759, allocations: 19.44 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.3759, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of Templates: time 0.005042/0.381, allocations: 2.654 MB / 1.369 GB, free: 8.664 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/jenkins1/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: 11.61522824599524]