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.006927/0.006927, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001337/0.001337, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.943/2.943, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.89 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3907, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002387/0.3931, allocations: 0.7373 MB / 1.209 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.3935, allocations: 51.83 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.3936, allocations: 7.938 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.3937, allocations: 15.86 kB / 1.209 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.3938, allocations: 11.92 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.394, allocations: 27.97 kB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.3942, allocations: 123.7 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.3945, allocations: 156.4 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3946, allocations: 63.8 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3947, allocations: 87.56 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.3948, allocations: 12 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.94e-05/0.3948, allocations: 8 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.3949, allocations: 55.84 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.395, allocations: 83.42 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.3953, allocations: 235.2 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3954, allocations: 0 / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3954, allocations: 0 / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3954, allocations: 0 / 1.209 GB, free: 7.934 MB / 0.9669 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.000719/0.3961, allocations: 0.4973 MB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3962, allocations: 8.625 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.3962, allocations: 24.66 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.3966, allocations: 249.1 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3966, allocations: 16.75 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.3966, allocations: 16.38 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.3972, allocations: 349 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3973, allocations: 3.938 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.3973, allocations: 12 kB / 1.211 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.3973, allocations: 16 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.3977, allocations: 263.8 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3992, allocations: 1.08 MB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.3993, allocations: 169.1 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.3994, allocations: 80.14 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.3994, allocations: 75.28 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.3994, allocations: 113.8 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.3994, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001063/0.3996, allocations: 53.48 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.3996, allocations: 138.7 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.4002, allocations: 0.4887 MB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.4002, allocations: 25.7 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4003, allocations: 163.8 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-06/0.4003, allocations: 7.984 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.4004, allocations: 25.72 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4005, allocations: 338.8 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.4006, allocations: 51.95 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.4007, allocations: 93.97 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.4008, allocations: 109.8 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.4008, allocations: 4 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003128/0.4012, allocations: 181.1 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4012, allocations: 13.78 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4012, allocations: 3.938 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4012, allocations: 7.984 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4013, allocations: 23.86 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4014, allocations: 4 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.4015, allocations: 35.67 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4015, allocations: 8 kB / 1.214 GB, free: 2.953 MB / 0.9669 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.0001878/0.4017, allocations: 245.1 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4018, allocations: 136.6 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.572e-05/0.4019, allocations: 138.8 kB / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-05/0.402, allocations: 176.3 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.33e-05/0.4021, allocations: 184.2 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/0.4021, allocations: 180.3 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.4025, allocations: 493 kB / 1.215 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.871e-05/0.4025, allocations: 109 kB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.4026, allocations: 105.4 kB / 1.216 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.844e-05/0.4027, allocations: 180.2 kB / 1.216 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.4028, allocations: 184.2 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.953e-05/0.4029, allocations: 180.2 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.04e-05/0.4029, allocations: 180.5 kB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.4031, allocations: 335.5 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.4033, allocations: 213.8 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4034, allocations: 184.1 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4035, allocations: 113 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.4036, allocations: 184.2 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.4037, allocations: 101 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003565/0.404, allocations: 367 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.404, allocations: 0 / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000298/0.4043, allocations: 28 kB / 1.218 GB, free: 14.8 MB / 0.9825 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.0001815/0.4045, allocations: 174.5 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.4047, allocations: 67.89 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4047, allocations: 0 / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.4047, allocations: 3.938 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.4053, allocations: 488.7 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.406, allocations: 477.6 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4064, allocations: 0.771 MB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.624e-05/0.4065, allocations: 45.53 kB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.4065, allocations: 19.38 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.4065, allocations: 0 / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of Templates: time 0.004582/0.4111, allocations: 1.761 MB / 1.222 GB, free: 10.96 MB / 0.9825 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