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.001789/0.001789, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002423/0.002423, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.771/2.771, allocations: 476.8 MB / 0.7714 GB, free: 4.273 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.001991/0.001991, allocations: 68.11 kB / 1.119 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3149, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00197/0.3168, allocations: 0.7495 MB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.3171, allocations: 55.83 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.3171, allocations: 3.938 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.3172, allocations: 19.86 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.3173, allocations: 11.92 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3175, allocations: 27.95 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3177, allocations: 123.6 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.3179, allocations: 92.83 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.318, allocations: 71.78 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.3181, allocations: 71.64 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.3181, allocations: 12 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.652e-05/0.3181, allocations: 12 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.3182, allocations: 51.86 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.3183, allocations: 87.41 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.3185, allocations: 231 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3185, allocations: 0 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3185, allocations: 0 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3186, allocations: 4 kB / 1.286 GB, free: 9.555 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.0005766/0.3191, allocations: 437.6 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3192, allocations: 12.03 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.3192, allocations: 28.75 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3195, allocations: 203.3 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3196, allocations: 12.75 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.3196, allocations: 12.38 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.3201, allocations: 337.2 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3201, allocations: 3.938 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.3201, allocations: 8 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.3201, allocations: 15.98 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.3205, allocations: 263.8 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3218, allocations: 1.069 MB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.716e-05/0.3219, allocations: 165.1 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.3219, allocations: 84.14 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.3219, allocations: 79.28 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.439e-05/0.322, allocations: 113.7 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.322, allocations: 4 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.3221, allocations: 57.67 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3222, allocations: 126.7 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.3228, allocations: 0.4887 MB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3228, allocations: 25.7 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3229, allocations: 171.9 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.3229, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.323, allocations: 29.7 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3231, allocations: 346.8 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.3232, allocations: 47.95 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-05/0.3233, allocations: 93.91 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3234, allocations: 105.9 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3234, allocations: 0 / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002972/0.3237, allocations: 185.3 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3238, allocations: 8 kB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3238, allocations: 3.938 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3238, allocations: 4 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3239, allocations: 19.98 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3239, allocations: 0 / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.324, allocations: 47.72 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.324, allocations: 4 kB / 1.291 GB, free: 4.754 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.0001761/0.3242, allocations: 249.2 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.3243, allocations: 128.8 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.3244, allocations: 138.7 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.99e-05/0.3244, allocations: 180.2 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-05/0.3245, allocations: 180.3 kB / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.445e-05/0.3246, allocations: 186 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3249, allocations: 464.2 kB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.325, allocations: 101 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.325, allocations: 112.9 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.891e-05/0.3251, allocations: 184.3 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.3252, allocations: 184.1 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.482e-05/0.3253, allocations: 184.3 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.028e-05/0.3254, allocations: 180.3 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.3255, allocations: 335.5 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3257, allocations: 144.7 kB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3258, allocations: 188.2 kB / 1.294 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3259, allocations: 113 kB / 1.294 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.326, allocations: 180.5 kB / 1.294 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.326, allocations: 101 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003928/0.3264, allocations: 367 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3264, allocations: 0 / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000285/0.3267, allocations: 24 kB / 1.294 GB, free: 0.7188 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.0001539/0.3269, allocations: 170.5 kB / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.327, allocations: 67.83 kB / 1.295 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.327, allocations: 0 / 1.295 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.327, allocations: 4 kB / 1.295 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.3276, allocations: 477.2 kB / 1.295 GB, free: 16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.3283, allocations: 0.5044 MB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.3287, allocations: 0.7671 MB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.3288, allocations: 19.42 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3288, allocations: 0 / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of Templates: time 0.004728/0.3335, allocations: 2.654 MB / 1.299 GB, free: 12 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.408829064981546]