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.001307/0.001307, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001431/0.001431, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.298/3.298, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.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: 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.002098/0.002098, allocations: 62.94 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3238, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002228/0.3261, allocations: 0.7294 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.3263, allocations: 52.23 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.3264, allocations: 3.938 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3266, allocations: 23.8 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.3266, allocations: 7.984 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.3268, allocations: 31.95 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.327, allocations: 123.6 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.3272, allocations: 88.84 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.3273, allocations: 71.77 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3274, allocations: 83.64 kB / 1.366 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.3275, allocations: 12 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.33e-05/0.3275, allocations: 12 kB / 1.366 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.3276, allocations: 47.86 kB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.559e-05/0.3277, allocations: 67.55 kB / 1.366 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.328, allocations: 242.9 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.328, allocations: 4 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.834e-06/0.328, allocations: 0 / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.328, allocations: 0 / 1.366 GB, free: 12 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006428/0.3286, allocations: 441.5 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3287, allocations: 8.031 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.3287, allocations: 24.8 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.3291, allocations: 198.6 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3291, allocations: 12.75 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3291, allocations: 20.36 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.3296, allocations: 337.1 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3296, allocations: 7.938 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3297, allocations: 11.94 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.3297, allocations: 15.98 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.3301, allocations: 259.8 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.3313, allocations: 0.906 MB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3315, allocations: 173.1 kB / 1.369 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.3315, allocations: 80.14 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.3315, allocations: 79.27 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.965e-05/0.3316, allocations: 109.8 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.3316, allocations: 0 / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.3317, allocations: 41.73 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.3318, allocations: 130.7 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.3321, allocations: 270.4 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3321, allocations: 33.58 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3323, allocations: 179.9 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.725e-06/0.3323, allocations: 7.984 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.3323, allocations: 33.66 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3325, allocations: 326.8 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.3326, allocations: 47.95 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3327, allocations: 93.97 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3328, allocations: 101.9 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3328, allocations: 0 / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003006/0.3331, allocations: 177.4 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3331, allocations: 8.219 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3331, allocations: 4 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3331, allocations: 3.938 kB / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3332, allocations: 19.98 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3333, allocations: 4 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.026e-05/0.3333, allocations: 23.94 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.3334, allocations: 11.94 kB / 1.37 GB, free: 7.621 MB / 1.061 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.0002023/0.3336, allocations: 246.2 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.3337, allocations: 112.9 kB / 1.371 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3338, allocations: 121.4 kB / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.04e-05/0.3339, allocations: 188.2 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001577/0.334, allocations: 180.3 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.464e-05/0.3341, allocations: 180.2 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.3345, allocations: 424.8 kB / 1.372 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.085e-05/0.3346, allocations: 113 kB / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3347, allocations: 102 kB / 1.372 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.473e-05/0.3348, allocations: 180.3 kB / 1.372 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/0.3349, allocations: 184.2 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001348/0.335, allocations: 184.2 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-05/0.3351, allocations: 184.1 kB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3353, allocations: 315.7 kB / 1.373 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.3354, allocations: 112.9 kB / 1.373 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.3355, allocations: 180.5 kB / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3356, allocations: 108.9 kB / 1.373 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/0.3357, allocations: 188.2 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.3357, allocations: 108.9 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000192/0.3359, allocations: 196.1 kB / 1.374 GB, free: 3.902 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3359, allocations: 4 kB / 1.374 GB, free: 3.898 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003568/0.3363, allocations: 43.78 kB / 1.374 GB, free: 3.855 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.0001635/0.3365, allocations: 166.5 kB / 1.374 GB, free: 3.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.3366, allocations: 68.14 kB / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3366, allocations: 0 / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3366, allocations: 0 / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.3373, allocations: 477.2 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.3379, allocations: 470.7 kB / 1.375 GB, free: 2.656 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.3381, allocations: 172 kB / 1.375 GB, free: 2.469 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.3382, allocations: 11.44 kB / 1.375 GB, free: 2.457 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.3382, allocations: 3.938 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of Templates: time 0.00437/0.3425, allocations: 2.075 MB / 1.377 GB, free: 388 kB / 1.061 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/jenkins1/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: 11.510018828790635]