Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 108.4 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001745, allocations: 187.8 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 78.28 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.323, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002013/0.325, allocations: 0.7392 MB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000236/0.3253, allocations: 59.83 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.3253, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3255, allocations: 19.8 kB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.3255, allocations: 7.922 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.3257, allocations: 35.94 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3259, allocations: 123.7 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.3261, allocations: 152.5 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.3262, allocations: 63.8 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.3263, allocations: 79.62 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.3264, allocations: 16 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.3264, allocations: 16 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.3265, allocations: 47.86 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.3266, allocations: 87.41 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3268, allocations: 223.3 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3268, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.657e-06/0.3268, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3268, allocations: 3.938 kB / 1.066 GB, free: 13.38 MB / 0.8419 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.000507/0.3273, allocations: 499.3 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3274, allocations: 12.62 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.3275, allocations: 28.56 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3277, allocations: 261.1 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3277, allocations: 16.75 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3278, allocations: 16.38 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.3282, allocations: 341.2 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3282, allocations: 7.875 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3283, allocations: 12 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.3283, allocations: 16 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.3286, allocations: 263.8 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3298, allocations: 1.084 MB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.3298, allocations: 177.1 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.3299, allocations: 80.14 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3299, allocations: 75.28 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.33, allocations: 106 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.33, allocations: 4 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.498e-05/0.3301, allocations: 53.27 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3301, allocations: 134.7 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.3306, allocations: 0.4964 MB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3306, allocations: 25.7 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3308, allocations: 167.8 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-06/0.3308, allocations: 3.984 kB / 1.07 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.3308, allocations: 37.62 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.331, allocations: 334.8 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.331, allocations: 55.89 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.058e-05/0.3311, allocations: 102.8 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3313, allocations: 114.7 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3313, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002866/0.3316, allocations: 197.3 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3316, allocations: 7.938 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3316, allocations: 3.938 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3316, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3317, allocations: 19.98 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3318, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.3319, allocations: 27.69 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3319, allocations: 8 kB / 1.07 GB, free: 8.352 MB / 0.8419 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.0001509/0.332, allocations: 257.1 kB / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.3321, allocations: 132.5 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.3322, allocations: 134.8 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/0.3323, allocations: 180.2 kB / 1.071 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-05/0.3323, allocations: 180.3 kB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.49e-05/0.3324, allocations: 188.2 kB / 1.071 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.3327, allocations: 493.1 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.697e-05/0.3328, allocations: 105 kB / 1.072 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.3328, allocations: 108.9 kB / 1.072 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.564e-05/0.3329, allocations: 184.2 kB / 1.072 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.333, allocations: 180.2 kB / 1.073 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.449e-05/0.3331, allocations: 176.3 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.731e-05/0.3332, allocations: 184.2 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3334, allocations: 327.5 kB / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.3335, allocations: 218 kB / 1.073 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3337, allocations: 184.2 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3338, allocations: 113 kB / 1.074 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3339, allocations: 188.2 kB / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.3339, allocations: 109 kB / 1.074 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004326/0.3344, allocations: 363 kB / 1.074 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3344, allocations: 0 / 1.074 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000328/0.3347, allocations: 24 kB / 1.074 GB, free: 4.188 MB / 0.8419 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.000203/0.3349, allocations: 183 kB / 1.074 GB, free: 4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.3351, allocations: 67.83 kB / 1.075 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3351, allocations: 3.938 kB / 1.075 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3351, allocations: 0 / 1.075 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.3357, allocations: 485.6 kB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.3365, allocations: 0.4998 MB / 1.076 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.3369, allocations: 0.771 MB / 1.076 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.3369, allocations: 27.42 kB / 1.076 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3369, allocations: 0 / 1.076 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of Templates: time 0.4745/0.8115, allocations: 2.625 MB / 1.079 GB, free: 22.71 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches