Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 112.5 kB / 15.73 MB, free: 76 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.00186/0.00186, allocations: 190.7 kB / 16.66 MB, free: 6.582 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.592/1.592, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 69.14 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3965, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002009/0.3986, allocations: 0.7408 MB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002501/0.3988, allocations: 51.83 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.3989, allocations: 4 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.3991, allocations: 19.8 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.3992, allocations: 11.98 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.3993, allocations: 27.34 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3995, allocations: 131.6 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.3998, allocations: 156.5 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.3999, allocations: 63.8 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.4, allocations: 75.64 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.4001, allocations: 15.98 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.663e-05/0.4001, allocations: 12 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.4002, allocations: 52.19 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.4003, allocations: 83.42 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.4006, allocations: 239.1 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4006, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4006, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4006, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 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.0006223/0.4013, allocations: 0.4948 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4013, allocations: 8.031 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.4014, allocations: 36.69 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4017, allocations: 253 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4017, allocations: 12.75 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.4018, allocations: 24.38 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.4023, allocations: 340.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4023, allocations: 3.938 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.4023, allocations: 7.984 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.4023, allocations: 19.92 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.4027, allocations: 259.7 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.4039, allocations: 1.088 MB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.685e-05/0.404, allocations: 173.1 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.4041, allocations: 84.14 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.4041, allocations: 79.28 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.4042, allocations: 105.8 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4042, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001104/0.4043, allocations: 57.64 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.4044, allocations: 130.7 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.4049, allocations: 0.4887 MB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.4049, allocations: 25.7 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4051, allocations: 171.9 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.4051, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.4051, allocations: 37.59 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4053, allocations: 346.8 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.4054, allocations: 47.95 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.4055, allocations: 89.97 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4056, allocations: 105.9 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4056, allocations: 4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002918/0.4059, allocations: 181.3 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.406, allocations: 8 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.406, allocations: 3.938 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.406, allocations: 4 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4061, allocations: 19.98 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4061, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.4062, allocations: 43.94 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.4062, allocations: 12 kB / 1.094 GB, free: 10.79 MB / 0.8575 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.0001814/0.4064, allocations: 249 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.4065, allocations: 124.8 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.4066, allocations: 142.7 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-05/0.4067, allocations: 176.3 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.578e-05/0.4068, allocations: 188.3 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.318e-05/0.4069, allocations: 185.6 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4072, allocations: 489.1 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/0.4072, allocations: 104.9 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.4073, allocations: 104.9 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.048e-05/0.4074, allocations: 184.3 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.4074, allocations: 196.1 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.363e-05/0.4075, allocations: 176.3 kB / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-05/0.4076, allocations: 184.2 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.4078, allocations: 327.7 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.4079, allocations: 218.1 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.408, allocations: 192.2 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4082, allocations: 108.9 kB / 1.097 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.4082, allocations: 180.3 kB / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.4083, allocations: 101 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000364/0.4087, allocations: 370.9 kB / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4087, allocations: 4 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002738/0.409, allocations: 24 kB / 1.098 GB, free: 6.617 MB / 0.8575 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.0001965/0.4092, allocations: 174.5 kB / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.4093, allocations: 71.83 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.4093, allocations: 0 / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.4093, allocations: 0 / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.4099, allocations: 481.2 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.4105, allocations: 471 kB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.4109, allocations: 0.7749 MB / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.651e-05/0.411, allocations: 49.52 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.4111, allocations: 19.44 kB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.4111, allocations: 0 / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of Templates: time 0.004737/0.4158, allocations: 1.751 MB / 1.102 GB, free: 2.797 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches