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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.561/2.561, allocations: 390.5 MB / 398 MB, free: 10.89 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.001494/0.001494, allocations: 184.8 kB / 491.2 MB, free: 1.535 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.752/1.752, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001041/0.001042, allocations: 94.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.191e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.621, allocations: 426.2 MB / 1.629 GB, free: 4.754 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/1.622, allocations: 90.95 kB / 1.629 GB, free: 4.711 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.123/4.745, allocations: 0.8089 GB / 2.438 GB, free: 192 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.823e-06/4.745, allocations: 0 / 2.438 GB, free: 192 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003408/4.745, allocations: 62.47 kB / 2.438 GB, free: 192 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.008246/4.753, allocations: 2.161 MB / 2.44 GB, free: 189.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/4.753, allocations: 8.031 kB / 2.44 GB, free: 189.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/4.755, allocations: 266.2 kB / 2.44 GB, free: 189.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04942/4.805, allocations: 24.65 MB / 2.464 GB, free: 165.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/4.805, allocations: 44 kB / 2.464 GB, free: 165.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/4.805, allocations: 83.91 kB / 2.464 GB, free: 165.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/4.807, allocations: 0.8645 MB / 2.465 GB, free: 164.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/4.808, allocations: 1.209 MB / 2.466 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/4.809, allocations: 4 kB / 2.466 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/4.809, allocations: 0 / 2.466 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/4.809, allocations: 45.38 kB / 2.466 GB, free: 162.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.006716/4.815, allocations: 7.272 MB / 2.473 GB, free: 155.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/4.816, allocations: 419.5 kB / 2.474 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/4.816, allocations: 267 kB / 2.474 GB, free: 154.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000655/4.817, allocations: 1.162 MB / 2.475 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/4.817, allocations: 43.12 kB / 2.475 GB, free: 153 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.154e-06/4.817, allocations: 0 / 2.475 GB, free: 153 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001183/4.818, allocations: 0.617 MB / 2.476 GB, free: 152.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/4.818, allocations: 59.97 kB / 2.476 GB, free: 152.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/4.819, allocations: 1.202 MB / 2.477 GB, free: 151.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/4.82, allocations: 29.64 kB / 2.477 GB, free: 151.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/4.82, allocations: 0.9495 MB / 2.478 GB, free: 150.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/4.82, allocations: 204.9 kB / 2.478 GB, free: 149.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/4.82, allocations: 2.469 kB / 2.478 GB, free: 149.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/4.82, allocations: 341.9 kB / 2.478 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/4.821, allocations: 222.6 kB / 2.479 GB, free: 149.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/4.821, allocations: 0.5745 MB / 2.479 GB, free: 148.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/4.822, allocations: 353.1 kB / 2.48 GB, free: 148.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/4.822, allocations: 7.953 kB / 2.48 GB, free: 148.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001254/4.823, allocations: 0.8928 MB / 2.48 GB, free: 147.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/4.823, allocations: 8 kB / 2.48 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/4.823, allocations: 12 kB / 2.48 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/4.823, allocations: 16 kB / 2.481 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/4.824, allocations: 222.9 kB / 2.481 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/4.824, allocations: 30.59 kB / 2.481 GB, free: 147.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/4.825, allocations: 170.9 kB / 2.481 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/4.825, allocations: 51.98 kB / 2.481 GB, free: 146.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.0001367/4.825, allocations: 125.8 kB / 2.481 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/4.825, allocations: 173.9 kB / 2.481 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/4.827, allocations: 0.7303 MB / 2.482 GB, free: 145.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/4.827, allocations: 8 kB / 2.482 GB, free: 145.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/4.827, allocations: 0 / 2.482 GB, free: 145.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007872/4.827, allocations: 0.6786 MB / 2.483 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/4.83, allocations: 2.16 MB / 2.485 GB, free: 142.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/4.83, allocations: 4 kB / 2.485 GB, free: 142.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/4.831, allocations: 180 kB / 2.485 GB, free: 142.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/4.831, allocations: 7.562 kB / 2.485 GB, free: 142.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/4.831, allocations: 15.98 kB / 2.485 GB, free: 142.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/4.831, allocations: 4 kB / 2.485 GB, free: 142.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/4.831, allocations: 7.922 kB / 2.485 GB, free: 142.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/4.833, allocations: 1.295 MB / 2.486 GB, free: 141.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/4.833, allocations: 366.8 kB / 2.487 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/4.833, allocations: 7.953 kB / 2.487 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/4.834, allocations: 115.7 kB / 2.487 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/4.834, allocations: 48.5 kB / 2.487 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/4.834, allocations: 39.69 kB / 2.487 GB, free: 140.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001008/4.835, allocations: 0.9034 MB / 2.488 GB, free: 139.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.42e-07/4.835, allocations: 0 / 2.488 GB, free: 139.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002153/4.838, allocations: 0.6975 MB / 2.488 GB, free: 139.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.001393/4.839, allocations: 0.9628 MB / 2.489 GB, free: 138.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008768/4.84, allocations: 0.6043 MB / 2.49 GB, free: 137.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/4.84, allocations: 0 / 2.49 GB, free: 137.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/4.84, allocations: 299.2 kB / 2.49 GB, free: 137.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/4.845, allocations: 0.9528 MB / 2.491 GB, free: 136.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/4.848, allocations: 2.325 MB / 2.493 GB, free: 134.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/4.849, allocations: 1.442 MB / 2.495 GB, free: 132.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001383/4.85, allocations: 343.7 kB / 2.495 GB, free: 132.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/4.85, allocations: 139.4 kB / 2.495 GB, free: 132.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/4.85, allocations: 0 / 2.495 GB, free: 132.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04785/4.898, allocations: 32.61 MB / 2.527 GB, free: 100.3 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches