Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 106.7 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 195.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.59/2.59, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 71.73 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2992, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001918/0.3012, allocations: 0.8039 MB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.3014, allocations: 51.83 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.3015, allocations: 3.938 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3016, allocations: 15.92 kB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.3017, allocations: 15.91 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.3018, allocations: 19.98 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.302, allocations: 123.7 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.3022, allocations: 160.5 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.3023, allocations: 59.8 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.3024, allocations: 79.64 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3024, allocations: 12 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.589e-05/0.3025, allocations: 12 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.3025, allocations: 51.84 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.3026, allocations: 91.36 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3028, allocations: 179.7 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3028, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.92e-07/0.3028, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3029, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 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.000531/0.3034, allocations: 491.3 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3034, allocations: 16.02 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.3035, allocations: 24.56 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.3037, allocations: 255.9 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3038, allocations: 12.75 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.3038, allocations: 20.36 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.3043, allocations: 345.1 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3043, allocations: 3.938 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.3043, allocations: 12 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.3044, allocations: 8 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.3047, allocations: 263.8 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.3059, allocations: 1.076 MB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.306, allocations: 169.1 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.306, allocations: 80.14 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.3061, allocations: 79.27 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.3061, allocations: 113.8 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3061, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.201e-05/0.3062, allocations: 53.55 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.3063, allocations: 134.6 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.3068, allocations: 0.4925 MB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3069, allocations: 25.7 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.307, allocations: 175.8 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.307, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.3071, allocations: 29.7 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3072, allocations: 334.8 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.3073, allocations: 47.97 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.3074, allocations: 89.97 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3076, allocations: 109.8 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3076, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002825/0.3079, allocations: 185.2 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3079, allocations: 10.02 kB / 1.07 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3079, allocations: 7.938 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3079, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.308, allocations: 16 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.308, allocations: 11.92 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/0.3081, allocations: 35.69 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3081, allocations: 12.22 kB / 1.07 GB, free: 8.461 MB / 0.8419 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.0001739/0.3083, allocations: 247.3 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.3084, allocations: 128.6 kB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.3085, allocations: 146.7 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-05/0.3086, allocations: 184.2 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.348e-05/0.3087, allocations: 180.2 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.955e-05/0.3088, allocations: 180.3 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3091, allocations: 493.1 kB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.602e-05/0.3091, allocations: 108.9 kB / 1.072 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.3092, allocations: 109 kB / 1.072 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.3093, allocations: 180.2 kB / 1.072 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.3094, allocations: 184.2 kB / 1.072 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-05/0.3094, allocations: 180.3 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.036e-05/0.3095, allocations: 180.2 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3097, allocations: 331.7 kB / 1.073 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.3098, allocations: 221.8 kB / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.3099, allocations: 180.2 kB / 1.073 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.31, allocations: 108.9 kB / 1.074 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3101, allocations: 180.2 kB / 1.074 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.3102, allocations: 116.9 kB / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003895/0.3106, allocations: 359 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3106, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002555/0.3108, allocations: 28 kB / 1.074 GB, free: 4.301 MB / 0.8419 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.0001653/0.311, allocations: 174.5 kB / 1.074 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3112, allocations: 63.89 kB / 1.074 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3112, allocations: 0 / 1.074 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3112, allocations: 0 / 1.074 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/0.3118, allocations: 485.2 kB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.3125, allocations: 0.5362 MB / 1.075 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3129, allocations: 0.7749 MB / 1.076 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.3129, allocations: 19.44 kB / 1.076 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3129, allocations: 0 / 1.076 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of Templates: time 0.414/0.727, allocations: 2.625 MB / 1.079 GB, free: 22.59 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches