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.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.001622/0.001622, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001741/0.001741, allocations: 158.6 kB / 23.01 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.65/1.65, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002122/0.002122, allocations: 67.89 kB / 0.9516 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 169.9 MB / 1.118 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001903/0.31, allocations: 0.73 MB / 1.118 GB, free: 1.758 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.3103, allocations: 55.83 kB / 1.118 GB, free: 1.703 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.3103, allocations: 3.938 kB / 1.118 GB, free: 1.699 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.3104, allocations: 23.8 kB / 1.118 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.3105, allocations: 11.98 kB / 1.118 GB, free: 1.664 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.3106, allocations: 30.48 kB / 1.118 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3108, allocations: 119.7 kB / 1.118 GB, free: 1.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.311, allocations: 96.81 kB / 1.119 GB, free: 1.418 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.3111, allocations: 71.73 kB / 1.119 GB, free: 1.348 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3112, allocations: 75.69 kB / 1.119 GB, free: 1.273 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.3113, allocations: 12 kB / 1.119 GB, free: 1.262 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.085e-05/0.3113, allocations: 15.94 kB / 1.119 GB, free: 1.246 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.3114, allocations: 59.84 kB / 1.119 GB, free: 1.188 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.3115, allocations: 67.55 kB / 1.119 GB, free: 1.121 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3117, allocations: 235 kB / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3117, allocations: 0 / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3117, allocations: 0 / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3117, allocations: 0 / 1.119 GB, free: 0.8906 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.000558/0.3123, allocations: 421.7 kB / 1.119 GB, free: 456 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3123, allocations: 12.02 kB / 1.119 GB, free: 444 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.3124, allocations: 32.69 kB / 1.119 GB, free: 412 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.3127, allocations: 202.8 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3127, allocations: 24.69 kB / 1.12 GB, free: 160 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.3128, allocations: 12.38 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.3133, allocations: 337.7 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3133, allocations: 3.938 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.3133, allocations: 11.91 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.3133, allocations: 15.92 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.3137, allocations: 259.9 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.3148, allocations: 0.9137 MB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3149, allocations: 169.1 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.3149, allocations: 80.14 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.315, allocations: 83.28 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.315, allocations: 113.8 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.315, allocations: 0 / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.142e-05/0.3151, allocations: 41.73 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.3152, allocations: 130.7 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3155, allocations: 257.3 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3155, allocations: 25.7 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3156, allocations: 183.9 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.3156, allocations: 4 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.3157, allocations: 33.64 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3158, allocations: 326.8 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.3159, allocations: 43.97 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.316, allocations: 93.97 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3161, allocations: 101.9 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3161, allocations: 4 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002861/0.3164, allocations: 181.3 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3164, allocations: 4 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3164, allocations: 4 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3164, allocations: 3.938 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.3165, allocations: 19.98 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3166, allocations: 4.156 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.3166, allocations: 12 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3166, allocations: 19.97 kB / 1.123 GB, free: 12.54 MB / 1.076 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.0001878/0.3168, allocations: 257.1 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.3169, allocations: 116.9 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.317, allocations: 125.4 kB / 1.124 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.422e-05/0.3171, allocations: 188.2 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.818e-05/0.3171, allocations: 180.3 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.533e-05/0.3172, allocations: 180.2 kB / 1.124 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3175, allocations: 424.8 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/0.3175, allocations: 108.9 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.3176, allocations: 101 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.207e-05/0.3177, allocations: 180.2 kB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-05/0.3177, allocations: 188.4 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-05/0.3178, allocations: 180.3 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.739e-05/0.3179, allocations: 196.2 kB / 1.125 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3181, allocations: 311.7 kB / 1.126 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.3181, allocations: 112.9 kB / 1.126 GB, free: 9.598 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.3182, allocations: 180.2 kB / 1.126 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3183, allocations: 112.9 kB / 1.126 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.3184, allocations: 184.2 kB / 1.126 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.3185, allocations: 105 kB / 1.126 GB, free: 9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001972/0.3187, allocations: 199.2 kB / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3187, allocations: 0 / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002729/0.3189, allocations: 39.84 kB / 1.127 GB, free: 8.766 MB / 1.076 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.0001502/0.3191, allocations: 178.5 kB / 1.127 GB, free: 8.582 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.3192, allocations: 59.89 kB / 1.127 GB, free: 8.523 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3192, allocations: 0 / 1.127 GB, free: 8.523 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.3192, allocations: 4 kB / 1.127 GB, free: 8.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.3198, allocations: 467.7 kB / 1.127 GB, free: 8.059 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.3204, allocations: 443 kB / 1.128 GB, free: 7.598 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.3206, allocations: 171.5 kB / 1.128 GB, free: 7.406 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.377e-05/0.3206, allocations: 28.47 kB / 1.128 GB, free: 7.375 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.3207, allocations: 12.5 kB / 1.128 GB, free: 7.363 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/0.3207, allocations: 0 / 1.128 GB, free: 7.363 MB / 1.076 GB Notification: Performance of Templates: time 0.003711/0.3244, allocations: 0.9725 MB / 1.129 GB, free: 6.406 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.94856560707558]