Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008113/0.008113, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001945/0.001945, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.471/1.471, 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 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001646, allocations: 67.89 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001958/1.039, allocations: 0.7411 MB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002926/1.039, allocations: 51.83 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/1.039, allocations: 4 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/1.039, allocations: 19.8 kB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/1.039, allocations: 11.92 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/1.04, allocations: 35.91 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/1.04, allocations: 127.7 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/1.04, allocations: 152.5 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/1.04, allocations: 59.8 kB / 1.168 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/1.04, allocations: 83.62 kB / 1.168 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/1.04, allocations: 8 kB / 1.168 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/1.04, allocations: 16 kB / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/1.04, allocations: 55.84 kB / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/1.041, allocations: 83.42 kB / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/1.041, allocations: 235.5 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.041, allocations: 3.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/1.041, allocations: 4 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.041, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 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.0005983/1.041, allocations: 0.4949 MB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.041, allocations: 8.922 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/1.042, allocations: 24.8 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/1.042, allocations: 263.9 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/1.042, allocations: 12.75 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/1.042, allocations: 20.36 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/1.042, allocations: 341.2 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/1.042, allocations: 7.875 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/1.043, allocations: 12 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/1.043, allocations: 12 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/1.043, allocations: 259.8 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/1.044, allocations: 1.08 MB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/1.044, allocations: 169.1 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/1.044, allocations: 88.17 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/1.044, allocations: 75.28 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/1.044, allocations: 113.8 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/1.044, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.807e-05/1.044, allocations: 56.11 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/1.044, allocations: 130.6 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/1.045, allocations: 0.4965 MB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.045, allocations: 25.7 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/1.045, allocations: 167.9 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/1.045, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/1.045, allocations: 33.7 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.045, allocations: 338.8 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/1.045, allocations: 51.95 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/1.045, allocations: 85.97 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/1.046, allocations: 113.8 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.046, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000293/1.046, allocations: 193.2 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.046, allocations: 4 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.046, allocations: 7.938 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.046, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.046, allocations: 19.98 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.046, allocations: 7.938 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.046, allocations: 39.77 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/1.046, allocations: 8 kB / 1.173 GB, free: 13.14 MB / 0.9044 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.0001729/1.046, allocations: 249.3 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/1.047, allocations: 128.8 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/1.047, allocations: 142.7 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-05/1.047, allocations: 176.3 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.641e-05/1.047, allocations: 180.2 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.431e-05/1.047, allocations: 184.3 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/1.047, allocations: 493.1 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/1.047, allocations: 104.9 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/1.047, allocations: 105 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.65e-05/1.047, allocations: 184.2 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/1.047, allocations: 184.2 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.596e-05/1.048, allocations: 188.3 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-05/1.048, allocations: 180.2 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/1.048, allocations: 323.6 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/1.048, allocations: 214 kB / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.048, allocations: 184.2 kB / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/1.048, allocations: 112.9 kB / 1.176 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/1.048, allocations: 184.3 kB / 1.176 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/1.048, allocations: 105.2 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003839/1.049, allocations: 367 kB / 1.177 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.049, allocations: 0 / 1.177 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002615/1.049, allocations: 24 kB / 1.177 GB, free: 8.98 MB / 0.9044 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.0001881/1.049, allocations: 174.5 kB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001464/1.049, allocations: 63.89 kB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.049, allocations: 0 / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/1.049, allocations: 0 / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/1.05, allocations: 495.2 kB / 1.177 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/1.051, allocations: 478.9 kB / 1.178 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/1.051, allocations: 0.7788 MB / 1.179 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.432e-05/1.051, allocations: 49.52 kB / 1.179 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/1.051, allocations: 15.44 kB / 1.179 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/1.051, allocations: 4 kB / 1.179 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of Templates: time 0.004399/1.056, allocations: 1.755 MB / 1.18 GB, free: 5.145 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches