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.008069/0.008069, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00182/0.00182, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.459/2.459, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001967, allocations: 68.44 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.384, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08246/0.4665, allocations: 77.15 MB / 1.163 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02955/0.4961, allocations: 18.88 MB / 1.181 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004495/0.5007, allocations: 115.2 kB / 1.181 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.5055, allocations: 1.285 MB / 1.183 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.5168, allocations: 3.81 MB / 1.186 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006028/0.5228, allocations: 2.1 MB / 1.188 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5335, allocations: 6.697 MB / 1.195 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003714/0.5373, allocations: 2.094 MB / 1.197 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006317/0.5436, allocations: 2.366 MB / 1.199 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/0.5474, allocations: 1.766 MB / 1.201 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006208/0.548, allocations: 204 kB / 1.201 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004661/0.5527, allocations: 1.618 MB / 1.203 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006937/0.5534, allocations: 0.541 MB / 1.203 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002666/0.5561, allocations: 1.244 MB / 1.205 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.5667, allocations: 3.745 MB / 1.208 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5668, allocations: 0 / 1.208 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5668, allocations: 0 / 1.208 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.562e-05/0.5669, allocations: 3.938 kB / 1.208 GB, free: 5.973 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.005442/0.5724, allocations: 2.786 MB / 1.211 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.5724, allocations: 8.031 kB / 1.211 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.5727, allocations: 206.8 kB / 1.211 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.5735, allocations: 279.3 kB / 1.211 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.577, allocations: 2.036 MB / 1.213 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.5771, allocations: 114.7 kB / 1.213 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.5773, allocations: 139.9 kB / 1.214 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.5799, allocations: 1.52 MB / 1.215 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.58, allocations: 7.891 kB / 1.215 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.5801, allocations: 60 kB / 1.215 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.5802, allocations: 39.98 kB / 1.215 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.5823, allocations: 1.126 MB / 1.216 GB, free: 13.45 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.01051/0.5928, allocations: 7.62 MB / 1.224 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.594, allocations: 476.5 kB / 1.224 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.5947, allocations: 332.4 kB / 1.225 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.5958, allocations: 1.152 MB / 1.226 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.5959, allocations: 43.12 kB / 1.226 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=59): time 3.707e-06/0.5959, allocations: 0 / 1.226 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59): time 0.002806/0.5987, allocations: 0.974 MB / 1.227 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.5988, allocations: 59.97 kB / 1.227 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/0.6025, allocations: 1.783 MB / 1.228 GB, free: 128 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.6027, allocations: 41.7 kB / 1.228 GB, free: 80 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009993/0.6037, allocations: 0.9528 MB / 1.229 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.604, allocations: 230 kB / 1.23 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/0.6045, allocations: 226.8 kB / 1.23 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6047, allocations: 349.9 kB / 1.23 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.6054, allocations: 326.4 kB / 1.23 GB, free: 14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.6065, allocations: 0.6899 MB / 1.231 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.6087, allocations: 1.008 MB / 1.232 GB, free: 12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/0.6087, allocations: 4 kB / 1.232 GB, free: 12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003201/0.6119, allocations: 1.23 MB / 1.233 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.612, allocations: 8 kB / 1.233 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.612, allocations: 12 kB / 1.233 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-05/0.6121, allocations: 16 kB / 1.233 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6131, allocations: 288.2 kB / 1.234 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.733e-05/0.6132, allocations: 27.86 kB / 1.234 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.6147, allocations: 166.9 kB / 1.234 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.6148, allocations: 52 kB / 1.234 GB, free: 10.2 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.0009779/0.6158, allocations: 441.3 kB / 1.234 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007523/0.6166, allocations: 202.7 kB / 1.235 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6188, allocations: 0.8628 MB / 1.235 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.6188, allocations: 11.92 kB / 1.235 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6188, allocations: 4 kB / 1.235 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/0.6202, allocations: 0.7918 MB / 1.236 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.6252, allocations: 2.447 MB / 1.239 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.6252, allocations: 4.25 kB / 1.239 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/0.626, allocations: 183.7 kB / 1.239 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.626, allocations: 4 kB / 1.239 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.6261, allocations: 27.97 kB / 1.239 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.6261, allocations: 4 kB / 1.239 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6261, allocations: 0 / 1.239 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.6287, allocations: 1.353 MB / 1.24 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008925/0.6296, allocations: 379.5 kB / 1.24 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000434/0.63, allocations: 12 kB / 1.24 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.6313, allocations: 67.88 kB / 1.241 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.6314, allocations: 52.44 kB / 1.241 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/0.6315, allocations: 35.97 kB / 1.241 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002326/0.6339, allocations: 1.247 MB / 1.242 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6339, allocations: 0 / 1.242 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00238/0.6363, allocations: 0.6548 MB / 1.242 GB, free: 1.211 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.004452/0.6407, allocations: 2.411 MB / 1.245 GB, free: 14.76 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.6427, allocations: 0.8122 MB / 1.246 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.6428, allocations: 0 / 1.246 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000741/0.6435, allocations: 354.9 kB / 1.246 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006222/0.6497, allocations: 1.188 MB / 1.247 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6828/1.333, allocations: 12.63 MB / 1.259 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.334, allocations: 1.408 MB / 1.261 GB, free: 162.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00208/1.336, allocations: 380.8 kB / 1.261 GB, free: 162.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.338, allocations: 0.7688 MB / 1.262 GB, free: 162.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.103e-06/1.338, allocations: 0.8125 kB / 1.262 GB, free: 162.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.472, allocations: 57.6 MB / 1.318 GB, free: 135.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.48, allocations: 11.73 kB / 1.318 GB, free: 135.3 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