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.001226/0.001226, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01159/0.01159, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.639/1.639, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.935/2.935, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 13.19 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.0008575/0.3341, allocations: 476.2 kB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001937/0.3343, allocations: 63.77 kB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.3344, allocations: 4 kB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.3345, allocations: 11.86 kB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.3346, allocations: 7.984 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3347, allocations: 23.98 kB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3349, allocations: 119.6 kB / 1.059 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.3351, allocations: 156.5 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.3352, allocations: 35.8 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.222e-05/0.3353, allocations: 35.67 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3353, allocations: 8 kB / 1.06 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.3353, allocations: 4 kB / 1.06 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.3354, allocations: 35.86 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.3355, allocations: 93.12 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3357, allocations: 211.2 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3357, allocations: 0 / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3357, allocations: 4 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3357, allocations: 0 / 1.06 GB, free: 4.18 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.0005248/0.3363, allocations: 455.4 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3363, allocations: 12.03 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.3364, allocations: 24.66 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.3367, allocations: 264.2 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3367, allocations: 16.69 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.3368, allocations: 12.38 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.3373, allocations: 341.2 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3373, allocations: 3.938 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3373, allocations: 8 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.3374, allocations: 23.92 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.3377, allocations: 259.8 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.339, allocations: 1.076 MB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.3391, allocations: 177.1 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.3392, allocations: 84.08 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3392, allocations: 79.28 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.3393, allocations: 105.8 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.3393, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001243/0.3394, allocations: 53.55 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.3395, allocations: 130.7 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.3401, allocations: 0.4926 MB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3401, allocations: 25.7 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3403, allocations: 167.8 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.3403, allocations: 4 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.3403, allocations: 9.719 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3405, allocations: 338.8 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.3405, allocations: 59.83 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.3406, allocations: 89.97 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3408, allocations: 105.9 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3408, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003112/0.3411, allocations: 193 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3412, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3412, allocations: 7.938 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3412, allocations: 4.219 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3413, allocations: 19.98 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.3413, allocations: 4 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.3414, allocations: 35.67 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.3414, allocations: 8 kB / 1.064 GB, free: 15.26 MB / 0.8262 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.0002483/0.3417, allocations: 249 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.3418, allocations: 128.6 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.3419, allocations: 142.7 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-05/0.342, allocations: 184.2 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.35e-05/0.3421, allocations: 176.3 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-05/0.3421, allocations: 184.2 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.3426, allocations: 489.1 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.401e-05/0.3426, allocations: 104.9 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.3427, allocations: 105.1 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/0.3428, allocations: 180.3 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/0.3429, allocations: 196.2 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.863e-05/0.343, allocations: 180.2 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.483e-05/0.3431, allocations: 180.2 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.3433, allocations: 323.5 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.3435, allocations: 233.7 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.3436, allocations: 180.2 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3437, allocations: 112.9 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.3438, allocations: 180.3 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.3438, allocations: 105 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003714/0.3442, allocations: 367 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3442, allocations: 3.938 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002945/0.3445, allocations: 28 kB / 1.068 GB, free: 11.09 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.0001851/0.3447, allocations: 170.5 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.3449, allocations: 68.27 kB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3449, allocations: 0 / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3449, allocations: 0 / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.3456, allocations: 0.5469 MB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.3463, allocations: 0.5125 MB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3467, allocations: 0.7713 MB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.171e-05/0.3467, allocations: 49.53 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.3468, allocations: 15.44 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of SimCode: time 7.91e-07/0.3468, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of Templates: time 0.004532/0.3513, allocations: 1.634 MB / 1.072 GB, free: 7.273 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