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.001436/0.001436, allocations: 104.1 kB / 16.41 MB, free: 6.516 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.001599/0.001599, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 63.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7607, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001968/0.7627, allocations: 0.7452 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.763, allocations: 51.83 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.7631, allocations: 0 / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.7632, allocations: 19.86 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.7633, allocations: 15.92 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.7635, allocations: 31.09 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.7637, allocations: 127.6 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.7639, allocations: 159.5 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.764, allocations: 63.8 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.7641, allocations: 79.64 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.7642, allocations: 11.98 kB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.7642, allocations: 12 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.7643, allocations: 55.84 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.7644, allocations: 87.42 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.7646, allocations: 227.2 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.7646, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7647, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.7647, allocations: 0 / 1.21 GB, free: 11.99 MB / 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.000563/0.7652, allocations: 0.4929 MB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7653, allocations: 8.031 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.7654, allocations: 28.66 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.7656, allocations: 257.1 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7656, allocations: 16.75 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.7657, allocations: 16.38 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.7661, allocations: 340.9 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.7662, allocations: 3.984 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.7662, allocations: 15.98 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.7662, allocations: 12 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.7666, allocations: 263.8 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.7677, allocations: 1.08 MB / 1.213 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.429e-05/0.7678, allocations: 165.1 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.7679, allocations: 84.17 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.7679, allocations: 83.22 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.768, allocations: 114 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.768, allocations: 0 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.7681, allocations: 57.25 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.7681, allocations: 126.7 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.7686, allocations: 0.4926 MB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.7687, allocations: 29.64 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.7688, allocations: 171.8 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.7688, allocations: 0 / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.7689, allocations: 29.7 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.769, allocations: 338.8 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.769, allocations: 47.95 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.7691, allocations: 97.91 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.7693, allocations: 105.9 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7693, allocations: 0 / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002795/0.7696, allocations: 185.1 kB / 1.215 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7696, allocations: 7.938 kB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7696, allocations: 4 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7696, allocations: 0 / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7697, allocations: 19.98 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7697, allocations: 8.156 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.7699, allocations: 43.58 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.7699, allocations: 12 kB / 1.215 GB, free: 6.996 MB / 0.9356 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.0001514/0.77, allocations: 245 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.7701, allocations: 132.6 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.7702, allocations: 134.8 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/0.7703, allocations: 180.2 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.494e-05/0.7703, allocations: 180.3 kB / 1.216 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-05/0.7704, allocations: 184.2 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.7707, allocations: 493.1 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/0.7707, allocations: 101 kB / 1.216 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.7707, allocations: 104.9 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.762e-05/0.7708, allocations: 188.2 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.7709, allocations: 184.2 kB / 1.217 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.695e-05/0.7709, allocations: 180.3 kB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-05/0.771, allocations: 184.3 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.7712, allocations: 327.5 kB / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.7713, allocations: 217.8 kB / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.7714, allocations: 184.2 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.7715, allocations: 105 kB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.7716, allocations: 188.2 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.7716, allocations: 101.3 kB / 1.218 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003592/0.772, allocations: 367 kB / 1.218 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.772, allocations: 4 kB / 1.218 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002663/0.7722, allocations: 24 kB / 1.219 GB, free: 2.855 MB / 0.9356 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.0001504/0.7724, allocations: 170.5 kB / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.7725, allocations: 67.83 kB / 1.219 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7725, allocations: 0 / 1.219 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.7726, allocations: 4.375 kB / 1.219 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.7731, allocations: 484.8 kB / 1.219 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.7737, allocations: 0.501 MB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.7741, allocations: 0.771 MB / 1.22 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.7741, allocations: 19.42 kB / 1.22 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7741, allocations: 0 / 1.22 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of Templates: time 0.004628/0.7788, allocations: 2.649 MB / 1.223 GB, free: 14.13 MB / 0.9512 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/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