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.001637/0.001637, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001551/0.001551, allocations: 213.1 kB / 22.24 MB, free: 5.117 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 MB, free: 7.781 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.664/3.664, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.002057/0.002057, allocations: 76.27 kB / 1.186 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4457, allocations: 181.9 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002338/0.448, allocations: 0.7206 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.4483, allocations: 56.23 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.4484, allocations: 3.938 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.4486, allocations: 27.8 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.4486, allocations: 7.984 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.4488, allocations: 35.88 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.449, allocations: 123.7 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.4493, allocations: 80.84 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.4494, allocations: 71.78 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.4495, allocations: 91.62 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.4495, allocations: 12 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.4496, allocations: 16 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.4497, allocations: 47.86 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.4497, allocations: 67.55 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.45, allocations: 242.9 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4501, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4501, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4501, allocations: 0 / 1.365 GB, free: 11.91 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.00069/0.4508, allocations: 433.6 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4508, allocations: 16.03 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.4509, allocations: 24.8 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.4512, allocations: 198.6 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.4513, allocations: 16.75 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.4513, allocations: 16.38 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.4519, allocations: 349 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.4519, allocations: 7.938 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.452, allocations: 12 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.452, allocations: 12 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.4524, allocations: 263.8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.4538, allocations: 0.9137 MB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.4539, allocations: 177.1 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.4539, allocations: 80.14 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.454, allocations: 79.28 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/0.454, allocations: 109.8 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.454, allocations: 0 / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001099/0.4542, allocations: 41.78 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4543, allocations: 130.6 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.4546, allocations: 270.5 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4546, allocations: 25.7 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.4548, allocations: 179.9 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.4548, allocations: 4 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.4549, allocations: 37.66 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4551, allocations: 326.8 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.4551, allocations: 47.95 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.4552, allocations: 102.8 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.4554, allocations: 122.6 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4554, allocations: 0 / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000335/0.4558, allocations: 181.4 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4558, allocations: 4 kB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4558, allocations: 4 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4558, allocations: 3.938 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.456, allocations: 24.23 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.456, allocations: 4 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.456, allocations: 23.89 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4561, allocations: 4 kB / 1.37 GB, free: 7.492 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.000235/0.4563, allocations: 254.1 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.4564, allocations: 116.9 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.4565, allocations: 121.4 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.767e-05/0.4566, allocations: 184.2 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/0.4567, allocations: 180.3 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.694e-05/0.4568, allocations: 180.2 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.4572, allocations: 428.8 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.747e-05/0.4572, allocations: 113 kB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.4573, allocations: 106 kB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.343e-05/0.4574, allocations: 176.3 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/0.4575, allocations: 184.2 kB / 1.371 GB, free: 5.379 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.519e-05/0.4576, allocations: 184.1 kB / 1.372 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.802e-05/0.4577, allocations: 180.2 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.4579, allocations: 315.8 kB / 1.372 GB, free: 4.676 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.4579, allocations: 120.8 kB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.458, allocations: 176.5 kB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4582, allocations: 124.8 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.4583, allocations: 184.3 kB / 1.373 GB, free: 4.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.4583, allocations: 105 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002013/0.4585, allocations: 192.2 kB / 1.373 GB, free: 3.758 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4585, allocations: 0 / 1.373 GB, free: 3.758 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002917/0.4588, allocations: 39.83 kB / 1.373 GB, free: 3.719 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.0001872/0.459, allocations: 174.5 kB / 1.373 GB, free: 3.535 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.4592, allocations: 64.33 kB / 1.373 GB, free: 3.473 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4592, allocations: 0 / 1.373 GB, free: 3.473 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.4592, allocations: 12.06 kB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.4598, allocations: 473.2 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.4605, allocations: 442.9 kB / 1.374 GB, free: 2.539 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.4607, allocations: 167.5 kB / 1.374 GB, free: 2.355 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.406e-05/0.4608, allocations: 24.42 kB / 1.374 GB, free: 2.332 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.4608, allocations: 15.44 kB / 1.374 GB, free: 2.316 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4608, allocations: 0 / 1.374 GB, free: 2.316 MB / 1.061 GB Notification: Performance of Templates: time 0.004591/0.4654, allocations: 1.117 MB / 1.375 GB, free: 1.215 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.995576806366444]