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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006067/0.006067, allocations: 102.7 kB / 15.73 MB, free: 6.445 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.001253/0.001253, allocations: 196.7 kB / 16.67 MB, free: 6.355 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 68.19 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07575/0.3976, allocations: 77.16 MB / 1.163 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02665/0.4243, allocations: 18.88 MB / 1.181 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004591/0.4289, allocations: 115.3 kB / 1.181 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.4333, allocations: 1.25 MB / 1.183 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.445, allocations: 3.627 MB / 1.186 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005856/0.4509, allocations: 2.09 MB / 1.188 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01049/0.4614, allocations: 6.687 MB / 1.195 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003955/0.4654, allocations: 2.093 MB / 1.197 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005678/0.4711, allocations: 2.301 MB / 1.199 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/0.4747, allocations: 1.769 MB / 1.201 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007979/0.4755, allocations: 200 kB / 1.201 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004821/0.4803, allocations: 1.626 MB / 1.203 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.4814, allocations: 0.5293 MB / 1.203 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.484, allocations: 1.252 MB / 1.204 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009426/0.4934, allocations: 3.724 MB / 1.208 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4934, allocations: 0 / 1.208 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4935, allocations: 0 / 1.208 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001517/0.4936, allocations: 3.938 kB / 1.208 GB, free: 6.227 MB / 0.9669 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.007026/0.5006, allocations: 2.715 MB / 1.211 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5007, allocations: 8.031 kB / 1.211 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004964/0.5012, allocations: 202.8 kB / 1.211 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5023, allocations: 269.9 kB / 1.211 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.5063, allocations: 2.015 MB / 1.213 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/0.5065, allocations: 118.6 kB / 1.213 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.5068, allocations: 140 kB / 1.213 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/0.51, allocations: 1.509 MB / 1.215 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/0.5101, allocations: 7.938 kB / 1.215 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.5102, allocations: 60 kB / 1.215 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.5103, allocations: 39.98 kB / 1.215 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.5127, allocations: 1.126 MB / 1.216 GB, free: 13.82 MB / 0.9825 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.00996/0.5227, allocations: 7.606 MB / 1.223 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.5237, allocations: 472.5 kB / 1.224 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/0.5244, allocations: 338.2 kB / 1.224 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008853/0.5253, allocations: 1.148 MB / 1.225 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.5254, allocations: 47.11 kB / 1.225 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=59): time 2.185e-06/0.5254, allocations: 0 / 1.225 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59): time 0.002565/0.5279, allocations: 0.9613 MB / 1.226 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.528, allocations: 67.89 kB / 1.226 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.531, allocations: 1.775 MB / 1.228 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/0.5311, allocations: 45.7 kB / 1.228 GB, free: 472 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000769/0.5319, allocations: 0.9239 MB / 1.229 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.5321, allocations: 216.9 kB / 1.229 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.5324, allocations: 226.7 kB / 1.229 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5326, allocations: 349.9 kB / 1.23 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.5333, allocations: 330.4 kB / 1.23 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/0.5343, allocations: 0.6938 MB / 1.231 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.5359, allocations: 1.008 MB / 1.232 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5359, allocations: 0 / 1.232 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002428/0.5384, allocations: 1.218 MB / 1.233 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.5384, allocations: 16.16 kB / 1.233 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5384, allocations: 8 kB / 1.233 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.5385, allocations: 16 kB / 1.233 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5395, allocations: 287.5 kB / 1.233 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.039e-05/0.5396, allocations: 23.92 kB / 1.233 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.541, allocations: 170.4 kB / 1.233 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.5411, allocations: 48 kB / 1.233 GB, free: 10.63 MB / 0.9981 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.0007972/0.5419, allocations: 449.3 kB / 1.234 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.5424, allocations: 189.7 kB / 1.234 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.5442, allocations: 0.8587 MB / 1.235 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.5443, allocations: 15.98 kB / 1.235 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5443, allocations: 0 / 1.235 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/0.5456, allocations: 0.7957 MB / 1.236 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.55, allocations: 2.451 MB / 1.238 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.55, allocations: 3.984 kB / 1.238 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.5509, allocations: 180 kB / 1.238 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.5509, allocations: 4 kB / 1.238 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.551, allocations: 19.98 kB / 1.238 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.551, allocations: 8 kB / 1.238 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.551, allocations: 7.938 kB / 1.238 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.5535, allocations: 1.34 MB / 1.24 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007517/0.5542, allocations: 362.5 kB / 1.24 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.5546, allocations: 12 kB / 1.24 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5557, allocations: 71.91 kB / 1.24 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5559, allocations: 52.42 kB / 1.24 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.5559, allocations: 31.98 kB / 1.24 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001861/0.5578, allocations: 1.247 MB / 1.241 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5578, allocations: 0 / 1.241 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002005/0.5598, allocations: 0.6591 MB / 1.242 GB, free: 1.664 MB / 0.9981 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.003997/0.5638, allocations: 2.386 MB / 1.244 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.5657, allocations: 0.8193 MB / 1.245 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.5657, allocations: 4 kB / 1.245 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.5664, allocations: 356.6 kB / 1.245 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005642/0.5721, allocations: 1.19 MB / 1.247 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6589/1.231, allocations: 12.55 MB / 1.259 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.233, allocations: 1.406 MB / 1.26 GB, free: 164.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002066/1.235, allocations: 376.9 kB / 1.261 GB, free: 164.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.236, allocations: 0.7649 MB / 1.261 GB, free: 164.7 MB / 1.014 GB Notification: Performance of SimCode: time 9.12e-07/1.236, allocations: 0 / 1.261 GB, free: 164.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.353, allocations: 57.61 MB / 1.318 GB, free: 138.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.51, allocations: 19.19 kB / 1.318 GB, free: 138.1 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches