Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 387.1 MB / 399.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009636/0.0009636, allocations: 176.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000907/0.0009069, allocations: 96.7 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.069e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3068, allocations: 142.4 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.604, allocations: 426.1 MB / 1.628 GB, free: 4.582 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.605, allocations: 95.61 kB / 1.629 GB, free: 4.535 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156/4.761, allocations: 0.8136 GB / 2.442 GB, free: 188.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.894e-06/4.761, allocations: 0 / 2.442 GB, free: 188.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002333/4.761, allocations: 57.55 kB / 2.442 GB, free: 188.5 MB / 1.151 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.007037/4.768, allocations: 2.164 MB / 2.444 GB, free: 186.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/4.768, allocations: 8.031 kB / 2.444 GB, free: 186.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/4.77, allocations: 266.5 kB / 2.445 GB, free: 186 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04688/4.817, allocations: 24.73 MB / 2.469 GB, free: 161.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/4.817, allocations: 106.7 kB / 2.469 GB, free: 161.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/4.817, allocations: 151.1 kB / 2.469 GB, free: 161.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/4.82, allocations: 1.385 MB / 2.47 GB, free: 160 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/4.82, allocations: 6.406 kB / 2.47 GB, free: 160 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/4.82, allocations: 60 kB / 2.47 GB, free: 159.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/4.82, allocations: 43.94 kB / 2.47 GB, free: 159.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/4.821, allocations: 0.9511 MB / 2.471 GB, free: 158.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008574/4.83, allocations: 7.566 MB / 2.479 GB, free: 150.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/4.83, allocations: 447.6 kB / 2.479 GB, free: 150.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/4.831, allocations: 282.5 kB / 2.479 GB, free: 150.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/4.832, allocations: 1.167 MB / 2.481 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/4.832, allocations: 42.75 kB / 2.481 GB, free: 148.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 5.03e-06/4.832, allocations: 4.031 kB / 2.481 GB, free: 148.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.00129/4.833, allocations: 0.6451 MB / 2.481 GB, free: 148 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/4.833, allocations: 63.95 kB / 2.481 GB, free: 147.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/4.835, allocations: 1.516 MB / 2.483 GB, free: 146.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/4.835, allocations: 45.7 kB / 2.483 GB, free: 146.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/4.835, allocations: 0.9542 MB / 2.484 GB, free: 145.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/4.836, allocations: 209 kB / 2.484 GB, free: 145.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/4.836, allocations: 20 kB / 2.484 GB, free: 145.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/4.836, allocations: 337.9 kB / 2.484 GB, free: 144.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/4.836, allocations: 234 kB / 2.485 GB, free: 144.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/4.837, allocations: 0.6092 MB / 2.485 GB, free: 143.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/4.837, allocations: 350.1 kB / 2.486 GB, free: 143.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/4.837, allocations: 11.06 kB / 2.486 GB, free: 143.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001291/4.838, allocations: 0.9774 MB / 2.486 GB, free: 142.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/4.838, allocations: 8.219 kB / 2.486 GB, free: 142.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/4.838, allocations: 16 kB / 2.486 GB, free: 142.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/4.838, allocations: 16 kB / 2.487 GB, free: 142.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/4.839, allocations: 227.6 kB / 2.487 GB, free: 142.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/4.839, allocations: 23.92 kB / 2.487 GB, free: 142.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/4.841, allocations: 238.4 kB / 2.487 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/4.841, allocations: 47.98 kB / 2.487 GB, free: 141.9 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/4.841, allocations: 168.6 kB / 2.487 GB, free: 141.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/4.841, allocations: 193.7 kB / 2.487 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/4.843, allocations: 0.7908 MB / 2.488 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/4.843, allocations: 7.984 kB / 2.488 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/4.843, allocations: 7.609 kB / 2.488 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007426/4.843, allocations: 0.6982 MB / 2.489 GB, free: 140 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/4.847, allocations: 2.385 MB / 2.491 GB, free: 137.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/4.848, allocations: 0 / 2.491 GB, free: 137.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/4.848, allocations: 183.8 kB / 2.491 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/4.848, allocations: 4 kB / 2.491 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/4.848, allocations: 19.98 kB / 2.491 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/4.848, allocations: 4 kB / 2.491 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/4.848, allocations: 7.891 kB / 2.491 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/4.85, allocations: 1.383 MB / 2.493 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009473/4.851, allocations: 418.2 kB / 2.493 GB, free: 135.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/4.851, allocations: 14.84 kB / 2.493 GB, free: 135.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/4.852, allocations: 123.7 kB / 2.493 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/4.852, allocations: 56.48 kB / 2.493 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/4.852, allocations: 31.98 kB / 2.493 GB, free: 135.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00151/4.854, allocations: 1.21 MB / 2.495 GB, free: 133.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.81e-07/4.854, allocations: 0 / 2.495 GB, free: 133.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002323/4.856, allocations: 0.6863 MB / 2.495 GB, free: 133.2 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/4.858, allocations: 0.9727 MB / 2.496 GB, free: 132.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001126/4.859, allocations: 0.6493 MB / 2.497 GB, free: 131.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/4.859, allocations: 0 / 2.497 GB, free: 131.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/4.859, allocations: 319 kB / 2.497 GB, free: 131.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006678/4.866, allocations: 1.247 MB / 2.498 GB, free: 130.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/4.871, allocations: 2.41 MB / 2.501 GB, free: 127.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/4.872, allocations: 1.452 MB / 2.502 GB, free: 126.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002184/4.874, allocations: 390.2 kB / 2.502 GB, free: 125.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/4.875, allocations: 155.3 kB / 2.503 GB, free: 125.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/4.875, allocations: 0 / 2.503 GB, free: 125.7 MB / 1.151 GB Notification: Performance of Templates: time 0.07259/4.947, allocations: 44.49 MB / 2.546 GB, free: 81.82 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches