Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001504/0.001504, allocations: 183 kB / 17.34 MB, free: 5.766 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.359/1.359, 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.539/2.539, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001482, allocations: 60.12 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7829, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07501/0.8579, allocations: 77.16 MB / 1.284 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02619/0.8842, allocations: 18.89 MB / 1.302 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.8879, allocations: 111.4 kB / 1.302 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.8919, allocations: 1.242 MB / 1.304 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.9025, allocations: 3.634 MB / 1.307 GB, free: 8.258 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.9078, allocations: 2.09 MB / 1.309 GB, free: 6.184 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009746/0.9176, allocations: 6.689 MB / 1.316 GB, free: 15.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003509/0.9212, allocations: 2.086 MB / 1.318 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005724/0.9269, allocations: 2.377 MB / 1.32 GB, free: 10.97 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003321/0.9302, allocations: 1.754 MB / 1.322 GB, free: 9.211 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006123/0.9309, allocations: 196 kB / 1.322 GB, free: 9.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/0.9356, allocations: 1.622 MB / 1.324 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007875/0.9364, allocations: 0.541 MB / 1.324 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.9386, allocations: 1.248 MB / 1.325 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006303/0.945, allocations: 3.741 MB / 1.329 GB, free: 1.848 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.945, allocations: 0 / 1.329 GB, free: 1.848 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.954e-06/0.945, allocations: 0 / 1.329 GB, free: 1.848 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.53e-05/0.9451, allocations: 0 / 1.329 GB, free: 1.848 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004769/0.9499, allocations: 2.703 MB / 1.332 GB, free: 15.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9499, allocations: 8.031 kB / 1.332 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.9507, allocations: 265.9 kB / 1.332 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.954, allocations: 2.023 MB / 1.334 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.77e-05/0.9541, allocations: 106.7 kB / 1.334 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.9543, allocations: 136 kB / 1.334 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.9569, allocations: 1.524 MB / 1.336 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.957, allocations: 0 / 1.336 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.9571, allocations: 63.98 kB / 1.336 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.9572, allocations: 40 kB / 1.336 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.9594, allocations: 1.13 MB / 1.337 GB, free: 9.656 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008692/0.9681, allocations: 7.606 MB / 1.344 GB, free: 1.469 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.9691, allocations: 469.1 kB / 1.345 GB, free: 1.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.9698, allocations: 330.3 kB / 1.345 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/0.9706, allocations: 1.156 MB / 1.346 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.9707, allocations: 43.12 kB / 1.346 GB, free: 15.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=59): time 3.236e-06/0.9707, allocations: 0 / 1.346 GB, free: 15.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=59): time 0.0023/0.973, allocations: 0.9652 MB / 1.347 GB, free: 14.24 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.973, allocations: 59.97 kB / 1.347 GB, free: 14.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.9753, allocations: 1.783 MB / 1.349 GB, free: 12.35 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.9754, allocations: 37.7 kB / 1.349 GB, free: 12.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/0.9762, allocations: 0.9278 MB / 1.35 GB, free: 11.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.9764, allocations: 228.8 kB / 1.35 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.9767, allocations: 226.7 kB / 1.35 GB, free: 10.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9768, allocations: 353.9 kB / 1.351 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.9775, allocations: 330.4 kB / 1.351 GB, free: 10.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.9785, allocations: 0.686 MB / 1.352 GB, free: 9.402 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.9801, allocations: 1.012 MB / 1.353 GB, free: 8.258 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.9801, allocations: 4 kB / 1.353 GB, free: 8.254 MB / 1.076 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002482/0.9826, allocations: 1.218 MB / 1.354 GB, free: 7.023 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9827, allocations: 8 kB / 1.354 GB, free: 7.016 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.9827, allocations: 12 kB / 1.354 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-05/0.9827, allocations: 19.94 kB / 1.354 GB, free: 6.984 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.9837, allocations: 291.8 kB / 1.354 GB, free: 6.699 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/0.9838, allocations: 27.86 kB / 1.354 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.985, allocations: 166.4 kB / 1.354 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.9851, allocations: 48 kB / 1.354 GB, free: 6.461 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007343/0.9859, allocations: 437.4 kB / 1.355 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.9862, allocations: 197.7 kB / 1.355 GB, free: 5.828 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.988, allocations: 0.8674 MB / 1.356 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.9881, allocations: 12 kB / 1.356 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9881, allocations: 0 / 1.356 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/0.9894, allocations: 0.7878 MB / 1.356 GB, free: 4.105 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.9934, allocations: 2.443 MB / 1.359 GB, free: 1.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.9935, allocations: 7.938 kB / 1.359 GB, free: 1.562 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.9943, allocations: 184 kB / 1.359 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.9943, allocations: 4 kB / 1.359 GB, free: 1.379 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.9944, allocations: 23.98 kB / 1.359 GB, free: 1.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.9944, allocations: 4 kB / 1.359 GB, free: 1.352 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9944, allocations: 3.938 kB / 1.359 GB, free: 1.348 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.9969, allocations: 1.332 MB / 1.36 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/0.9976, allocations: 374.4 kB / 1.361 GB, free: 15.58 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.9979, allocations: 16 kB / 1.361 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.9989, allocations: 63.83 kB / 1.361 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.999, allocations: 44.5 kB / 1.361 GB, free: 15.46 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.9991, allocations: 39.97 kB / 1.361 GB, free: 15.42 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001694/1.001, allocations: 1.239 MB / 1.362 GB, free: 14.16 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.001, allocations: 0 / 1.362 GB, free: 14.16 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00166/1.002, allocations: 0.6552 MB / 1.363 GB, free: 13.5 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001069/1.004, allocations: 0.6136 MB / 1.363 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001697/1.005, allocations: 0.8202 MB / 1.364 GB, free: 12.09 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.005, allocations: 0 / 1.364 GB, free: 12.09 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/1.006, allocations: 363.4 kB / 1.364 GB, free: 11.73 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/1.011, allocations: 1.188 MB / 1.366 GB, free: 10.56 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/1.016, allocations: 3.088 MB / 1.369 GB, free: 7.41 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/1.017, allocations: 1.392 MB / 1.37 GB, free: 5.988 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/1.017, allocations: 159.3 kB / 1.37 GB, free: 5.832 MB / 1.092 GB Notification: Performance of SimCode: time 6.31e-07/1.017, allocations: 0 / 1.37 GB, free: 5.832 MB / 1.092 GB Notification: Performance of Templates: time 0.04818/1.066, allocations: 35.06 MB / 1.404 GB, free: 3.074 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches