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.001499/0.001499, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001382/0.001382, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.72 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3922, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00236/0.3946, allocations: 0.7435 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.395, allocations: 51.83 kB / 1.028 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.3951, allocations: 15.88 kB / 1.028 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.3954, allocations: 15.86 kB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.3954, allocations: 11.92 kB / 1.028 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3957, allocations: 23.97 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.3959, allocations: 119.7 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.3962, allocations: 160.5 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.3963, allocations: 67.8 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.3964, allocations: 75.58 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.3964, allocations: 12 kB / 1.028 GB, free: 0.793 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.3965, allocations: 15.94 kB / 1.028 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3966, allocations: 59.83 kB / 1.028 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.3967, allocations: 83.42 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3969, allocations: 235.2 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3969, allocations: 0 / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd: time 4.208e-06/0.3969, allocations: 0 / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3969, allocations: 3.938 kB / 1.028 GB, free: 412 kB / 0.795 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.000648/0.3976, allocations: 491.1 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3977, allocations: 8.031 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.3977, allocations: 24.66 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.3981, allocations: 268.8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3982, allocations: 8.75 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.3982, allocations: 20.38 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.3987, allocations: 337.1 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3987, allocations: 11.91 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3987, allocations: 4 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.3988, allocations: 12 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.3991, allocations: 263.8 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.4005, allocations: 1.092 MB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.4007, allocations: 169.1 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.4007, allocations: 88.14 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.4008, allocations: 75.28 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.4008, allocations: 105.8 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4008, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001102/0.401, allocations: 61.47 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.401, allocations: 126.7 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.4016, allocations: 0.4964 MB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.4016, allocations: 25.7 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4018, allocations: 167.8 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-06/0.4018, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.4019, allocations: 29.7 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002692/0.4021, allocations: 342.8 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.4022, allocations: 47.95 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.393e-05/0.4023, allocations: 93.97 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.4024, allocations: 109.8 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4025, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002981/0.4028, allocations: 177.2 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4028, allocations: 8 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4028, allocations: 3.938 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4028, allocations: 4 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4029, allocations: 32.14 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.403, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.4031, allocations: 43.61 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.4031, allocations: 4 kB / 1.033 GB, free: 11.43 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.0001669/0.4033, allocations: 245.1 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.4033, allocations: 132.5 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.18e-05/0.4034, allocations: 138.8 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-05/0.4035, allocations: 180.3 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.248e-05/0.4036, allocations: 188.2 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.713e-05/0.4036, allocations: 180.3 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.4039, allocations: 493 kB / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-05/0.404, allocations: 101 kB / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.404, allocations: 104.9 kB / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.238e-05/0.4041, allocations: 192.2 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.4041, allocations: 184.2 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.126e-05/0.4042, allocations: 180.2 kB / 1.035 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.666e-05/0.4043, allocations: 176.3 kB / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.4045, allocations: 335.5 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.4047, allocations: 206.1 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/0.4048, allocations: 196.1 kB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4049, allocations: 109 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.405, allocations: 180.2 kB / 1.036 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.405, allocations: 105 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003898/0.4054, allocations: 371 kB / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4054, allocations: 0 / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002885/0.4057, allocations: 24 kB / 1.037 GB, free: 7.273 MB / 0.8106 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.0002385/0.406, allocations: 174.5 kB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.4061, allocations: 67.89 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4062, allocations: 448 / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.4062, allocations: 4 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.4068, allocations: 484.7 kB / 1.037 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008062/0.4077, allocations: 467.2 kB / 1.038 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.4082, allocations: 0.771 MB / 1.039 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.91e-05/0.4083, allocations: 49.52 kB / 1.039 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.4084, allocations: 19.44 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.4084, allocations: 0 / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of Templates: time 0.005196/0.4136, allocations: 1.737 MB / 1.04 GB, free: 3.469 MB / 0.8106 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 -s cvode -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