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.001528/0.001528, 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.001529/0.001529, allocations: 212.3 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002183/0.002183, allocations: 68.02 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4116, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002249/0.4138, allocations: 0.7306 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000267/0.4141, allocations: 52.23 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.4142, allocations: 11.94 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.4143, allocations: 15.86 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.4144, allocations: 7.922 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.4146, allocations: 31.95 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.4148, allocations: 119.7 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.4151, allocations: 80.86 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.4151, allocations: 83.7 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/0.4152, allocations: 71.64 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.4153, allocations: 12 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.843e-05/0.4153, allocations: 15.94 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.4154, allocations: 55.84 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.4155, allocations: 67.55 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.4158, allocations: 239 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4158, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.255e-06/0.4158, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4158, allocations: 0 / 1.329 GB, free: 15.4 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.0006665/0.4165, allocations: 437.7 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4166, allocations: 12.03 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.4166, allocations: 24.75 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.417, allocations: 210 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.417, allocations: 12.75 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.417, allocations: 20.38 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.4176, allocations: 333.2 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4176, allocations: 3.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.4177, allocations: 8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.4177, allocations: 15.94 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.4181, allocations: 260.6 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.4194, allocations: 0.9138 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.4195, allocations: 165.1 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.4196, allocations: 88.08 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.4196, allocations: 75.28 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.858e-05/0.4197, allocations: 105.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4197, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.928e-05/0.4198, allocations: 45.78 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.4198, allocations: 126.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.4202, allocations: 267 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4202, allocations: 29.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4203, allocations: 187.9 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-06/0.4203, allocations: 3.984 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.4204, allocations: 25.72 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4206, allocations: 322.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.4206, allocations: 55.89 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4207, allocations: 93.95 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4209, allocations: 109.9 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4209, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000306/0.4212, allocations: 173.3 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4212, allocations: 4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4212, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.4212, allocations: 3.938 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4213, allocations: 24.14 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4214, allocations: 8.156 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.4214, allocations: 15.98 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4215, allocations: 11.98 kB / 1.333 GB, free: 11.03 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.0001984/0.4217, allocations: 253.5 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.4217, allocations: 120.9 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.074e-05/0.4218, allocations: 121.4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.955e-05/0.4219, allocations: 184.2 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001164/0.422, allocations: 180.2 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.064e-05/0.4221, allocations: 184.2 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.4225, allocations: 424.8 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.545e-05/0.4225, allocations: 113 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.4226, allocations: 105 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.814e-05/0.4227, allocations: 184.2 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4228, allocations: 180.2 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001005/0.4229, allocations: 180.3 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.233e-05/0.423, allocations: 188.1 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.4231, allocations: 311.7 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.4232, allocations: 116.9 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.4233, allocations: 176.5 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4234, allocations: 116.9 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.4235, allocations: 188.2 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.4236, allocations: 101 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000269/0.4238, allocations: 192.5 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4238, allocations: 3.938 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003284/0.4242, allocations: 39.78 kB / 1.336 GB, free: 7.258 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.0002192/0.4244, allocations: 170.5 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.4245, allocations: 67.89 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4245, allocations: 448 / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.4245, allocations: 4 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.4252, allocations: 477.5 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.4258, allocations: 439 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.426, allocations: 167.5 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.17e-05/0.4261, allocations: 28.41 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.4261, allocations: 19.38 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4261, allocations: 0 / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of Templates: time 0.004103/0.4302, allocations: 1.149 MB / 1.339 GB, free: 4.73 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 cvode -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.464434672001516]