Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.006157/0.006157, allocations: 101.5 kB / 15.73 MB, free: 5.973 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.001462/0.001462, allocations: 188.6 kB / 16.67 MB, free: 5.895 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.578/2.578, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8984/0.8996, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002049/0.9016, allocations: 0.7469 MB / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.9019, allocations: 55.83 kB / 1.221 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.9019, allocations: 4 kB / 1.221 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.9021, allocations: 15.86 kB / 1.221 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.9021, allocations: 11.92 kB / 1.221 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.9023, allocations: 27.97 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.9026, allocations: 127.6 kB / 1.222 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.9028, allocations: 128.5 kB / 1.222 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.9029, allocations: 71.78 kB / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.266e-05/0.903, allocations: 75.62 kB / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.903, allocations: 12 kB / 1.222 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.76e-05/0.903, allocations: 12 kB / 1.222 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.9031, allocations: 55.84 kB / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/0.9032, allocations: 83.42 kB / 1.222 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.9035, allocations: 231.5 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9035, allocations: 0 / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9035, allocations: 4 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9035, allocations: 0 / 1.222 GB, free: 456 kB / 0.9356 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.0006059/0.9041, allocations: 0.4988 MB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9041, allocations: 8.031 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.9042, allocations: 24.8 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.9045, allocations: 272.3 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.9045, allocations: 8.75 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.9045, allocations: 16.38 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.905, allocations: 341.2 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.905, allocations: 3.938 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.905, allocations: 4 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.9051, allocations: 23.92 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.9054, allocations: 259.8 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.9066, allocations: 1.088 MB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.9068, allocations: 165.1 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.9068, allocations: 92.11 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.9068, allocations: 75.28 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.9069, allocations: 113.8 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.9069, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001134/0.907, allocations: 53.69 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.9071, allocations: 126.7 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.9077, allocations: 0.4964 MB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.9077, allocations: 25.7 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.9078, allocations: 167.9 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.9078, allocations: 0 / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.9079, allocations: 33.7 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.908, allocations: 342.8 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.9081, allocations: 51.89 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.9082, allocations: 97.97 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.9084, allocations: 105.9 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9084, allocations: 0 / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002971/0.9087, allocations: 189.2 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9087, allocations: 8 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9087, allocations: 3.938 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9087, allocations: 4 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.9088, allocations: 19.98 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.9088, allocations: 0 / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.9089, allocations: 39.77 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.9089, allocations: 4.156 kB / 1.227 GB, free: 11.44 MB / 0.9512 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.0001808/0.9091, allocations: 253.8 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.9092, allocations: 128.8 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/0.9093, allocations: 138.8 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.166e-05/0.9093, allocations: 184.2 kB / 1.228 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.047e-05/0.9094, allocations: 180.3 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.799e-05/0.9095, allocations: 180.2 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.9098, allocations: 497.1 kB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/0.9098, allocations: 104.9 kB / 1.228 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.9099, allocations: 104.9 kB / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-05/0.91, allocations: 180.3 kB / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.91, allocations: 188.1 kB / 1.229 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.277e-05/0.9101, allocations: 184.3 kB / 1.229 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.48e-05/0.9102, allocations: 185.1 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.9104, allocations: 323.7 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.9105, allocations: 217.9 kB / 1.23 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.9106, allocations: 188.2 kB / 1.23 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.9107, allocations: 112.9 kB / 1.23 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.9108, allocations: 176.3 kB / 1.23 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.9108, allocations: 105.3 kB / 1.23 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003381/0.9112, allocations: 367 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9112, allocations: 0 / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002838/0.9114, allocations: 24 kB / 1.231 GB, free: 7.285 MB / 0.9512 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.0001803/0.9116, allocations: 186.4 kB / 1.231 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.9118, allocations: 63.83 kB / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9118, allocations: 0 / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.9118, allocations: 4 kB / 1.231 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.9123, allocations: 489.2 kB / 1.231 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.913, allocations: 474.7 kB / 1.232 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.9133, allocations: 0.771 MB / 1.233 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.97e-05/0.9134, allocations: 49.52 kB / 1.233 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.9135, allocations: 15.44 kB / 1.233 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.9135, allocations: 4 kB / 1.233 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of Templates: time 0.004377/0.9178, allocations: 1.759 MB / 1.234 GB, free: 3.441 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches