Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001742/0.001743, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.25 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002092/0.3463, allocations: 0.7924 MB / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.3465, allocations: 55.77 kB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.3466, allocations: 3.938 kB / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3467, allocations: 15.92 kB / 1.053 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.3468, allocations: 11.92 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.3469, allocations: 31.11 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3471, allocations: 115.7 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.3474, allocations: 156.5 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.3475, allocations: 55.78 kB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.3475, allocations: 67.66 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.3476, allocations: 8 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.3476, allocations: 8 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.3477, allocations: 55.77 kB / 1.053 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.3478, allocations: 71.48 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.348, allocations: 219.3 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.348, allocations: 0 / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.61e-07/0.348, allocations: 7.938 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.348, allocations: 4 kB / 1.054 GB, free: 7.156 MB / 0.8106 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.0005908/0.3486, allocations: 495.3 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3487, allocations: 12.03 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.3487, allocations: 24.64 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.349, allocations: 260.3 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3491, allocations: 12.75 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.3491, allocations: 16.38 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.3496, allocations: 345.1 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3496, allocations: 3.938 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3496, allocations: 8 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.3497, allocations: 12 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.35, allocations: 263.8 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3513, allocations: 1.084 MB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.3514, allocations: 169.1 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.3515, allocations: 80.14 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.3515, allocations: 79.27 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.3516, allocations: 109.8 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.3516, allocations: 4 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.000112/0.3517, allocations: 57.48 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.3518, allocations: 126.7 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.3523, allocations: 0.4925 MB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3524, allocations: 25.7 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3525, allocations: 175.7 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.3525, allocations: 4 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.3526, allocations: 29.7 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3527, allocations: 342.8 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.3528, allocations: 43.97 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3529, allocations: 89.97 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.353, allocations: 109.8 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3531, allocations: 0 / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002992/0.3534, allocations: 185.2 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3534, allocations: 4 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3534, allocations: 7.922 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3534, allocations: 4 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3535, allocations: 19.94 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3536, allocations: 4.141 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/0.3537, allocations: 35.69 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3537, allocations: 12 kB / 1.058 GB, free: 2.184 MB / 0.8106 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.000189/0.3539, allocations: 246.8 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.354, allocations: 132.6 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.354, allocations: 134.8 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-05/0.3541, allocations: 184.2 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.294e-05/0.3542, allocations: 180.2 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.399e-05/0.3542, allocations: 176.3 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.3546, allocations: 0.4893 MB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-05/0.3546, allocations: 101 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.3546, allocations: 113.1 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.734e-05/0.3547, allocations: 188.2 kB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.496e-05/0.3548, allocations: 180.2 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.083e-05/0.3548, allocations: 188.2 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.999e-05/0.3549, allocations: 184.3 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.3551, allocations: 327.4 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.3553, allocations: 217.9 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.3554, allocations: 184.1 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3555, allocations: 109 kB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.3556, allocations: 184.2 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.3556, allocations: 109 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003544/0.356, allocations: 359 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.356, allocations: 3.938 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002735/0.3563, allocations: 24 kB / 1.062 GB, free: 14.03 MB / 0.8262 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.0001773/0.3565, allocations: 178.5 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.3566, allocations: 63.89 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3566, allocations: 0 / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.3566, allocations: 0 / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.3572, allocations: 0.5522 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.3579, allocations: 0.5047 MB / 1.063 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3582, allocations: 0.7752 MB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.394e-05/0.3583, allocations: 45.53 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.3584, allocations: 23.44 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of SimCode: time 1.81e-07/0.3584, allocations: 0 / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.005042/0.3634, allocations: 1.667 MB / 1.066 GB, free: 10.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches