Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008642/0.0008642, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007936/0.0007936, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8931/0.8931, allocations: 177.1 MB / 203.5 MB, free: 5.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724/1.724, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.876e-05, allocations: 9.172 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001088/0.001107, allocations: 0.73 MB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.001304, allocations: 59.75 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.001344, allocations: 4 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.001465, allocations: 15.8 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.001508, allocations: 11.92 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.001632, allocations: 26.84 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.001773, allocations: 131.6 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.001931, allocations: 88.89 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.002, allocations: 91.86 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.002063, allocations: 67.81 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.002094, allocations: 12 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.002111, allocations: 12 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.002164, allocations: 51.83 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.002209, allocations: 55.78 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.002379, allocations: 223.3 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002381, allocations: 0 / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002381, allocations: 4 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.002386, allocations: 0 / 1.003 GB, free: 11.38 MB / 0.9636 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.0003713/0.002757, allocations: 437.5 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.002788, allocations: 12.75 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.002827, allocations: 28.75 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.003006, allocations: 189.5 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003019, allocations: 12.75 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.003037, allocations: 16.38 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.003349, allocations: 329.6 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.003359, allocations: 192 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.003374, allocations: 12.38 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.003401, allocations: 32.05 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.003606, allocations: 255.9 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.00427, allocations: 0.9178 MB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.163e-05/0.004332, allocations: 173.1 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.004354, allocations: 88.12 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.004369, allocations: 75.28 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.004398, allocations: 109.8 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.004399, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.573e-05/0.004454, allocations: 37.66 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.004495, allocations: 126.7 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.00467, allocations: 274.6 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.004677, allocations: 25.7 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.004758, allocations: 183.9 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.00476, allocations: 3.938 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.004796, allocations: 29.7 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.004875, allocations: 326.8 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.00492, allocations: 51.95 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.004976, allocations: 81.98 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.005062, allocations: 109.9 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005064, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001942/0.005258, allocations: 177.3 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.005269, allocations: 4 kB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.005274, allocations: 8.219 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.005285, allocations: 3.984 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.005352, allocations: 19.98 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005358, allocations: 4.156 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.005406, allocations: 23.88 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.005419, allocations: 11.98 kB / 1.007 GB, free: 7.016 MB / 0.9636 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.000109/0.005528, allocations: 249 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.005569, allocations: 116.9 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.005607, allocations: 122.2 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/0.005646, allocations: 184.3 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.97e-05/0.005686, allocations: 180.3 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-05/0.005726, allocations: 188.1 kB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.005893, allocations: 428.8 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.005916, allocations: 104.9 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.005938, allocations: 101.1 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.922e-05/0.005978, allocations: 184.3 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.006019, allocations: 184.2 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-05/0.006058, allocations: 180.2 kB / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.914e-05/0.006098, allocations: 188.2 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.006187, allocations: 315.7 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.006217, allocations: 116.8 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.006263, allocations: 184.2 kB / 1.009 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.006319, allocations: 116.9 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.00636, allocations: 176.3 kB / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.006383, allocations: 104.9 kB / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001121/0.006495, allocations: 198.6 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006495, allocations: 0 / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001722/0.006667, allocations: 43.72 kB / 1.01 GB, free: 3.242 MB / 0.9636 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 8.262e-05/0.00675, allocations: 170.5 kB / 1.01 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.006855, allocations: 68.02 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006856, allocations: 0 / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.006859, allocations: 4 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.007174, allocations: 471.6 kB / 1.011 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.007541, allocations: 464.3 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.007636, allocations: 171.8 kB / 1.011 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.007668, allocations: 16.5 kB / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.007669, allocations: 0 / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of Templates: time 0.002192/0.009861, allocations: 2.074 MB / 1.013 GB, free: 15.77 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.676685454323888]