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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00135/0.00135, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 70.67 kB / 0.8991 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002183/0.3236, allocations: 0.8079 MB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.3239, allocations: 51.83 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.3239, allocations: 3.938 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3241, allocations: 15.92 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.3242, allocations: 19.86 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.3243, allocations: 19.98 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3245, allocations: 119.7 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3248, allocations: 152.5 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.3248, allocations: 55.73 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.3249, allocations: 75.62 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.325, allocations: 8 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.609e-05/0.325, allocations: 8 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.3251, allocations: 47.84 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.3252, allocations: 79.42 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.3254, allocations: 179.7 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3254, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3254, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.3254, allocations: 0 / 1.054 GB, free: 6.637 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.0005575/0.326, allocations: 499.3 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.326, allocations: 15.95 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.3261, allocations: 24.66 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3264, allocations: 255.8 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3264, allocations: 20.73 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.3264, allocations: 24.36 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.3269, allocations: 337.1 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.327, allocations: 3.938 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.327, allocations: 8 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.327, allocations: 12 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.3274, allocations: 263.8 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.3285, allocations: 1.076 MB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.3286, allocations: 173.1 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.3286, allocations: 84.12 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3287, allocations: 79.28 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.3287, allocations: 109.8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3287, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.916e-05/0.3288, allocations: 53.48 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3289, allocations: 130.7 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.3294, allocations: 0.4925 MB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3294, allocations: 25.7 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3296, allocations: 175.8 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-06/0.3296, allocations: 3.938 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.3296, allocations: 29.7 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3298, allocations: 342.8 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.3298, allocations: 43.97 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.3299, allocations: 93.97 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3301, allocations: 105.8 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3301, allocations: 7.938 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002944/0.3304, allocations: 177.2 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3304, allocations: 13.55 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3304, allocations: 3.938 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3304, allocations: 4 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3306, allocations: 15.94 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3306, allocations: 8.203 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3307, allocations: 39.69 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3307, allocations: 8 kB / 1.059 GB, free: 1.652 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.0001609/0.3309, allocations: 249.1 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.331, allocations: 128.6 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.3311, allocations: 134.8 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/0.3311, allocations: 176.3 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-05/0.3312, allocations: 184.2 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/0.3312, allocations: 184.3 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.3315, allocations: 497 kB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-05/0.3316, allocations: 105 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.3316, allocations: 105 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.815e-05/0.3317, allocations: 184.2 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.3318, allocations: 184.2 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.586e-05/0.3318, allocations: 184.2 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.842e-05/0.3319, allocations: 176.3 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.332, allocations: 339.6 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3322, allocations: 209.9 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.3322, allocations: 184.1 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3324, allocations: 113 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.3324, allocations: 176.3 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.3325, allocations: 108.9 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003593/0.3328, allocations: 367 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.372e-06/0.3328, allocations: 0 / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002734/0.3331, allocations: 27.94 kB / 1.063 GB, free: 13.5 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.0001674/0.3333, allocations: 170.5 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3334, allocations: 63.89 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3334, allocations: 0 / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.948e-06/0.3335, allocations: 4.438 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.334, allocations: 0.5524 MB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.3347, allocations: 0.5375 MB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.335, allocations: 0.7752 MB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.335, allocations: 15.44 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.335, allocations: 0 / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.004391/0.3394, allocations: 2.627 MB / 1.067 GB, free: 8.691 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/jenkins1/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