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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008357/0.0008355, allocations: 99.11 kB / 16.02 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.0009931/0.0009932, allocations: 182.9 kB / 16.92 MB, free: 6.918 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004079, allocations: 15.98 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6645, allocations: 153.8 MB / 1.024 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001087/0.6656, allocations: 470.1 kB / 1.024 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.6659, allocations: 55.83 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.666, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.6661, allocations: 15.86 kB / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.6662, allocations: 7.984 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.6664, allocations: 19.98 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.6666, allocations: 115.6 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.6668, allocations: 161 kB / 1.025 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.6669, allocations: 31.8 kB / 1.025 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.667, allocations: 47.66 kB / 1.025 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.667, allocations: 4 kB / 1.025 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.6671, allocations: 4 kB / 1.025 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.6671, allocations: 35.84 kB / 1.025 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.6672, allocations: 93.14 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.6674, allocations: 175.7 kB / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6674, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6674, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.6675, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.7794 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.0005602/0.668, allocations: 458.8 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6681, allocations: 8.031 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.6682, allocations: 28.66 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.6685, allocations: 259.8 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6685, allocations: 8.75 kB / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.6685, allocations: 24.36 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.6691, allocations: 337.2 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6691, allocations: 3.938 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.6691, allocations: 4 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.6692, allocations: 16 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.6695, allocations: 267.8 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.6708, allocations: 1.084 MB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.671, allocations: 177.1 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.671, allocations: 80.14 kB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.671, allocations: 79.22 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.6711, allocations: 105.8 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.6711, allocations: 0 / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001267/0.6712, allocations: 53.55 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.6713, allocations: 130.7 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.6719, allocations: 0.4926 MB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.6719, allocations: 25.7 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.672, allocations: 167.8 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.672, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.6721, allocations: 17.72 kB / 1.029 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6722, allocations: 334.8 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.6723, allocations: 55.94 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.6724, allocations: 101.9 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.6725, allocations: 105.9 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6725, allocations: 3.938 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000311/0.6729, allocations: 185.1 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6729, allocations: 5.719 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6729, allocations: 7.938 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6729, allocations: 4.219 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.673, allocations: 23.98 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6731, allocations: 4 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.6732, allocations: 39.58 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.6732, allocations: 8 kB / 1.029 GB, free: 9.902 MB / 0.7794 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.0001857/0.6734, allocations: 253.6 kB / 1.03 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.6735, allocations: 120.7 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.6736, allocations: 142.8 kB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.784e-05/0.6736, allocations: 188.2 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-05/0.6737, allocations: 176.3 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/0.6738, allocations: 180.2 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.6741, allocations: 489.1 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-05/0.6742, allocations: 109 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.6742, allocations: 112.9 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.746e-05/0.6743, allocations: 176.3 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.6744, allocations: 184.1 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.856e-05/0.6744, allocations: 184.2 kB / 1.032 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.628e-05/0.6745, allocations: 180.2 kB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.6747, allocations: 323.5 kB / 1.032 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.6748, allocations: 233.7 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.6749, allocations: 180.5 kB / 1.033 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6751, allocations: 112.9 kB / 1.033 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.6751, allocations: 184.3 kB / 1.033 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.6752, allocations: 109 kB / 1.033 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003837/0.6756, allocations: 363 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6756, allocations: 4 kB / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002717/0.6759, allocations: 24 kB / 1.033 GB, free: 5.734 MB / 0.7794 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.0001789/0.676, allocations: 174.5 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.6762, allocations: 64.2 kB / 1.033 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6762, allocations: 4.125 kB / 1.034 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.6762, allocations: 0 / 1.034 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.6768, allocations: 0.543 MB / 1.034 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/0.6775, allocations: 0.5398 MB / 1.035 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.678, allocations: 0.7713 MB / 1.035 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.678, allocations: 19.44 kB / 1.035 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.678, allocations: 0 / 1.035 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of Templates: time 0.004981/0.683, allocations: 2.611 MB / 1.038 GB, free: 0.9375 MB / 0.7794 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/jenkins1/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