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.001446/0.001446, allocations: 104.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.001761/0.001761, allocations: 214.2 kB / 22.99 MB, free: 4.945 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.834/2.834, allocations: 476 MB / 0.7707 GB, free: 4.688 MB / 0.6231 GB " [Timeout remaining time 177] 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.002157/0.002157, allocations: 66.14 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.295, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002032/0.297, allocations: 0.7354 MB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002255/0.2972, allocations: 51.83 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.2973, allocations: 0 / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2974, allocations: 23.8 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.2975, allocations: 15.92 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.2976, allocations: 27.91 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.2978, allocations: 123.7 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.298, allocations: 84.84 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.349e-05/0.2981, allocations: 63.8 kB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2982, allocations: 87.61 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.2982, allocations: 12 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.2983, allocations: 16 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.2983, allocations: 47.86 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.2984, allocations: 71.55 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2987, allocations: 242.9 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2987, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2987, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2987, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 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.0005486/0.2992, allocations: 425.7 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2993, allocations: 8.031 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.2993, allocations: 28.75 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.2997, allocations: 203.3 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2997, allocations: 12.75 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.2997, allocations: 20.38 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.3002, allocations: 341.1 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3002, allocations: 7.922 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.3003, allocations: 8 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.3003, allocations: 11.98 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.3007, allocations: 267.8 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3018, allocations: 0.91 MB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.302, allocations: 169.1 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.302, allocations: 80.14 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.302, allocations: 79.28 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.3021, allocations: 117.8 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3021, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.933e-05/0.3022, allocations: 41.72 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.3023, allocations: 126.7 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3026, allocations: 269.2 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3026, allocations: 25.7 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3027, allocations: 183.9 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/0.3027, allocations: 4 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.3028, allocations: 29.7 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3029, allocations: 322.8 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.303, allocations: 51.95 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3031, allocations: 93.97 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3032, allocations: 109.8 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3032, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003073/0.3035, allocations: 181.4 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3036, allocations: 4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3036, allocations: 7.938 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3036, allocations: 3.938 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.3037, allocations: 19.98 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3037, allocations: 7.938 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.3038, allocations: 12 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3038, allocations: 11.98 kB / 1.289 GB, free: 5.855 MB / 0.9825 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.0001863/0.304, allocations: 249.3 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.304, allocations: 112.9 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.3041, allocations: 125.4 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.794e-05/0.3042, allocations: 180.2 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.802e-05/0.3043, allocations: 188.2 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.504e-05/0.3044, allocations: 182 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.3047, allocations: 428.7 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/0.3047, allocations: 105 kB / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3048, allocations: 101 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-05/0.3049, allocations: 184.2 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.414e-05/0.305, allocations: 184.3 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.714e-05/0.3051, allocations: 184.2 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.83e-05/0.3051, allocations: 184.2 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3053, allocations: 315.7 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.3054, allocations: 112.9 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.3055, allocations: 184.2 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3056, allocations: 105 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.3057, allocations: 184.5 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.3057, allocations: 104.9 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001982/0.3059, allocations: 199 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3059, allocations: 4 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003002/0.3062, allocations: 43.78 kB / 1.293 GB, free: 2.09 MB / 0.9825 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.0001459/0.3064, allocations: 170.5 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.3065, allocations: 63.89 kB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3065, allocations: 0 / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3065, allocations: 0 / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.3071, allocations: 475.6 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.3077, allocations: 477.1 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.3079, allocations: 171.5 kB / 1.294 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.308, allocations: 15.44 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.308, allocations: 3.938 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of Templates: time 0.003903/0.3119, allocations: 2.075 MB / 1.296 GB, free: 14.6 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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: 11.428875534329563]