Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_10_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.001926/0.001925, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002701/0.002701, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.88 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.6761, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07148/0.7476, allocations: 77.18 MB / 1.093 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02692/0.7746, allocations: 18.88 MB / 1.111 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004507/0.7791, allocations: 111.3 kB / 1.111 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004841/0.784, allocations: 1.238 MB / 1.113 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.7946, allocations: 3.63 MB / 1.116 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006034/0.8007, allocations: 2.074 MB / 1.118 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00936/0.8101, allocations: 6.673 MB / 1.125 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004131/0.8142, allocations: 2.092 MB / 1.127 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.8199, allocations: 2.291 MB / 1.129 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003057/0.8229, allocations: 1.758 MB / 1.131 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007199/0.8237, allocations: 196 kB / 1.131 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.8278, allocations: 1.614 MB / 1.132 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009836/0.8288, allocations: 0.541 MB / 1.133 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002876/0.8317, allocations: 1.252 MB / 1.134 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006896/0.8386, allocations: 3.696 MB / 1.138 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8387, allocations: 0 / 1.138 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8387, allocations: 0 / 1.138 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001008/0.8388, allocations: 0 / 1.138 GB, free: 6.84 MB / 0.8887 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.005521/0.8443, allocations: 2.719 MB / 1.14 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8444, allocations: 12.03 kB / 1.14 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.8447, allocations: 194.8 kB / 1.141 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008489/0.8456, allocations: 266 kB / 1.141 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/0.8489, allocations: 1.902 MB / 1.143 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/0.8491, allocations: 106.7 kB / 1.143 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.8493, allocations: 143.9 kB / 1.143 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.8522, allocations: 1.518 MB / 1.144 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.8522, allocations: 8 kB / 1.144 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.8524, allocations: 55.98 kB / 1.144 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.8524, allocations: 43.94 kB / 1.145 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.8547, allocations: 1.126 MB / 1.146 GB, free: 14.55 MB / 0.9044 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.009012/0.8638, allocations: 7.657 MB / 1.153 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.8648, allocations: 484.6 kB / 1.154 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.8654, allocations: 326.3 kB / 1.154 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008942/0.8663, allocations: 1.156 MB / 1.155 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.8663, allocations: 43.12 kB / 1.155 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.905e-06/0.8663, allocations: 0 / 1.155 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002429/0.8688, allocations: 0.9612 MB / 1.156 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.8688, allocations: 59.91 kB / 1.156 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.8711, allocations: 1.791 MB / 1.158 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.604e-05/0.8712, allocations: 41.7 kB / 1.158 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008365/0.8721, allocations: 0.9317 MB / 1.159 GB, free: 196 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.8723, allocations: 225 kB / 1.159 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.8725, allocations: 222.7 kB / 1.159 GB, free: 15.74 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8727, allocations: 349.9 kB / 1.159 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.8733, allocations: 334.4 kB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.8744, allocations: 0.6859 MB / 1.16 GB, free: 14.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.876, allocations: 1.016 MB / 1.161 GB, free: 13.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.876, allocations: 4 kB / 1.161 GB, free: 13.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002257/0.8783, allocations: 1.213 MB / 1.163 GB, free: 11.85 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.8783, allocations: 8 kB / 1.163 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.8783, allocations: 16.86 kB / 1.163 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.8784, allocations: 16 kB / 1.163 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009799/0.8793, allocations: 291.6 kB / 1.163 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.8794, allocations: 19.94 kB / 1.163 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.8805, allocations: 166.4 kB / 1.163 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.8806, allocations: 51.98 kB / 1.163 GB, free: 11.29 MB / 0.92 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.000627/0.8812, allocations: 450.3 kB / 1.164 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.8815, allocations: 193.7 kB / 1.164 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.8833, allocations: 0.864 MB / 1.165 GB, free: 9.785 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.8833, allocations: 8 kB / 1.165 GB, free: 9.777 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8833, allocations: 0 / 1.165 GB, free: 9.777 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/0.8848, allocations: 0.7995 MB / 1.165 GB, free: 8.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.889, allocations: 2.443 MB / 1.168 GB, free: 6.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.889, allocations: 4 kB / 1.168 GB, free: 6.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.8898, allocations: 188 kB / 1.168 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.8898, allocations: 4 kB / 1.168 GB, free: 6.199 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.8898, allocations: 16 kB / 1.168 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.8899, allocations: 7.984 kB / 1.168 GB, free: 6.176 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8899, allocations: 0 / 1.168 GB, free: 6.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.8923, allocations: 1.335 MB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.893, allocations: 366.5 kB / 1.17 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.8932, allocations: 15.98 kB / 1.17 GB, free: 4.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009713/0.8942, allocations: 63.92 kB / 1.17 GB, free: 4.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.8943, allocations: 48.44 kB / 1.17 GB, free: 4.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.8944, allocations: 39.97 kB / 1.17 GB, free: 4.254 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00183/0.8962, allocations: 1.243 MB / 1.171 GB, free: 2.992 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8962, allocations: 4 kB / 1.171 GB, free: 2.988 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001957/0.8982, allocations: 0.6474 MB / 1.172 GB, free: 2.34 MB / 0.92 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.003941/0.9021, allocations: 2.399 MB / 1.174 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.9044, allocations: 0.8983 MB / 1.175 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9045, allocations: 0 / 1.175 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.9052, allocations: 355.5 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006003/0.9112, allocations: 1.195 MB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/0.9331, allocations: 14.24 MB / 1.19 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.9342, allocations: 1.409 MB / 1.192 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00165/0.9359, allocations: 376.1 kB / 1.192 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.9371, allocations: 0.7648 MB / 1.193 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/0.9371, allocations: 0 / 1.193 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/1.088, allocations: 57.31 MB / 1.249 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.181/10.27, allocations: 8 kB / 1.249 GB, free: 2.902 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches