Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001767/0.001767, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00207/0.00207, allocations: 210.2 kB / 22.99 MB, free: 4.957 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.342/3.342, allocations: 0.49 GB / 0.7959 GB, free: 35.3 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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [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.002126/0.002126, allocations: 76.34 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4021, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002071/0.4042, allocations: 0.7309 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.4044, allocations: 52.23 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.4045, allocations: 7.938 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.4046, allocations: 15.86 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.4047, allocations: 11.92 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.4049, allocations: 31.95 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.4051, allocations: 119.7 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.4053, allocations: 88.78 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.4054, allocations: 71.78 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.4055, allocations: 71.64 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.4055, allocations: 12 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.4056, allocations: 12 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.4056, allocations: 51.84 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.4057, allocations: 75.53 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.406, allocations: 239 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.406, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.406, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.406, allocations: 0 / 1.329 GB, free: 15.34 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005975/0.4066, allocations: 433.7 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4067, allocations: 8.031 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.4067, allocations: 28.75 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.4071, allocations: 210.1 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.4071, allocations: 16.75 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.4071, allocations: 16.38 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.4076, allocations: 337.1 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4076, allocations: 3.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4077, allocations: 8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.4077, allocations: 11.94 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.4081, allocations: 267.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.4093, allocations: 0.9137 MB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4094, allocations: 165.1 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.4094, allocations: 80.14 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.4095, allocations: 79.28 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.4095, allocations: 109.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4095, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.073e-05/0.4096, allocations: 45.72 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.4097, allocations: 134.7 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.41, allocations: 263 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.41, allocations: 25.7 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.4101, allocations: 187.8 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.4101, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.4102, allocations: 29.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4103, allocations: 326.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.4104, allocations: 43.97 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.4105, allocations: 93.97 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4106, allocations: 109.8 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4107, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002915/0.4109, allocations: 173.5 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.411, allocations: 6.031 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.411, allocations: 7.984 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.411, allocations: 7.875 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4111, allocations: 19.94 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4111, allocations: 7.984 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.4112, allocations: 12 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4112, allocations: 8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000178/0.4114, allocations: 245.6 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.4115, allocations: 124.8 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.263e-05/0.4115, allocations: 117.5 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.273e-05/0.4116, allocations: 188.2 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/0.4117, allocations: 184.2 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.707e-05/0.4118, allocations: 176.3 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.4121, allocations: 428.8 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-05/0.4121, allocations: 105 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.4122, allocations: 108.9 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.4123, allocations: 180.3 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.4123, allocations: 180.3 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.36e-05/0.4124, allocations: 180.2 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.053e-05/0.4125, allocations: 184.2 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.4127, allocations: 323.7 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.4127, allocations: 112.9 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.4128, allocations: 180.5 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4129, allocations: 109 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.413, allocations: 196.2 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.4131, allocations: 101 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001862/0.4133, allocations: 192.5 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4133, allocations: 0 / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003002/0.4136, allocations: 39.78 kB / 1.336 GB, free: 7.207 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.0001675/0.4137, allocations: 178.5 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.4139, allocations: 63.89 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4139, allocations: 0 / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.4139, allocations: 7.938 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.4145, allocations: 473.2 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.4151, allocations: 439 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.4153, allocations: 172 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.567e-05/0.4154, allocations: 28.41 kB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.4154, allocations: 11.44 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4154, allocations: 3.938 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of Templates: time 0.004015/0.4194, allocations: 1.158 MB / 1.339 GB, free: 4.664 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.40956174999883]