Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001611/0.001611, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002275/0.002275, allocations: 222.9 kB / 23 MB, free: 4.91 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.205/3.205, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [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.002123/0.002123, allocations: 62.94 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3223, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001976/0.3242, allocations: 0.7284 MB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002579/0.3245, allocations: 56.22 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.3245, allocations: 7.938 kB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3247, allocations: 15.86 kB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.3247, allocations: 11.92 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.3249, allocations: 35.95 kB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.3251, allocations: 119.7 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.3253, allocations: 80.86 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.3254, allocations: 71.77 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3255, allocations: 83.64 kB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.3255, allocations: 12 kB / 1.328 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.3256, allocations: 12 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.3256, allocations: 55.78 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.3257, allocations: 67.61 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.326, allocations: 242.9 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.326, allocations: 0 / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.326, allocations: 0 / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.326, allocations: 0 / 1.328 GB, free: 232 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006048/0.3266, allocations: 437.7 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3267, allocations: 12.03 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.3267, allocations: 28.73 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.327, allocations: 210 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3271, allocations: 12.75 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.3271, allocations: 28.36 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.3276, allocations: 337.1 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3276, allocations: 3.938 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3276, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.3277, allocations: 19.92 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.3281, allocations: 267.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3293, allocations: 0.9137 MB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3294, allocations: 169.1 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.3295, allocations: 80.14 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3295, allocations: 75.28 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/0.3296, allocations: 109.8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.3296, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.706e-05/0.3297, allocations: 49.66 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.3297, allocations: 130.7 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.3301, allocations: 271.2 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3301, allocations: 25.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3302, allocations: 187.9 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.3302, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3303, allocations: 29.7 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3305, allocations: 326.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.3305, allocations: 47.95 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3307, allocations: 106.8 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3308, allocations: 114.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3308, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003212/0.3311, allocations: 185.3 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3312, allocations: 8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3312, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3312, allocations: 7.938 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3313, allocations: 19.98 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3313, allocations: 7.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.3314, allocations: 15.92 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3314, allocations: 11.94 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0002057/0.3316, allocations: 249.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.3317, allocations: 116.9 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.3318, allocations: 129.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.903e-05/0.3319, allocations: 176.3 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.792e-05/0.332, allocations: 180.2 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.273e-05/0.332, allocations: 184.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.3324, allocations: 432.8 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.484e-05/0.3324, allocations: 101 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.3325, allocations: 105 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.35e-05/0.3326, allocations: 180.2 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.58e-05/0.3327, allocations: 184.2 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-05/0.3328, allocations: 196.1 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.652e-05/0.3329, allocations: 176.3 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.333, allocations: 315.7 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.3331, allocations: 116.9 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.3332, allocations: 184.5 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3333, allocations: 108.9 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.3334, allocations: 180.3 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.3335, allocations: 108.9 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001991/0.3337, allocations: 192.5 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3337, allocations: 0 / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002951/0.334, allocations: 47.78 kB / 1.335 GB, free: 8.02 MB / 1.029 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.0001759/0.3342, allocations: 170.5 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.3343, allocations: 63.89 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3343, allocations: 4 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.3343, allocations: 0 / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.3349, allocations: 473 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.3356, allocations: 473.1 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.3358, allocations: 175.5 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.3358, allocations: 15.42 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3358, allocations: 4 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of Templates: time 0.004122/0.3399, allocations: 2.083 MB / 1.339 GB, free: 4.527 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.26572487410158]