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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_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.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 152 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.00169/0.00169, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 68.47 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3573, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09468/0.452, allocations: 77.16 MB / 1.139 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02782/0.4799, allocations: 18.89 MB / 1.157 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/0.4833, allocations: 115.3 kB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.4869, allocations: 1.254 MB / 1.159 GB, free: 12.78 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009757/0.4967, allocations: 3.62 MB / 1.162 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.5019, allocations: 2.076 MB / 1.164 GB, free: 7.086 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008125/0.5101, allocations: 6.684 MB / 1.171 GB, free: 396 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003136/0.5132, allocations: 2.079 MB / 1.173 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004823/0.5181, allocations: 2.299 MB / 1.175 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.5208, allocations: 1.758 MB / 1.177 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005704/0.5214, allocations: 204 kB / 1.177 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.5256, allocations: 1.614 MB / 1.179 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.5264, allocations: 0.5371 MB / 1.179 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.5288, allocations: 1.244 MB / 1.18 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006611/0.5354, allocations: 3.689 MB / 1.184 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5355, allocations: 0 / 1.184 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5355, allocations: 0 / 1.184 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001126/0.5356, allocations: 0 / 1.184 GB, free: 2.895 MB / 0.9356 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.005863/0.5415, allocations: 2.72 MB / 1.187 GB, free: 112 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5415, allocations: 8.031 kB / 1.187 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003883/0.5419, allocations: 202.8 kB / 1.187 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009913/0.5429, allocations: 273.9 kB / 1.187 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.5466, allocations: 1.898 MB / 1.189 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.648e-05/0.5467, allocations: 110.7 kB / 1.189 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/0.547, allocations: 148 kB / 1.189 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.5498, allocations: 1.514 MB / 1.191 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.5498, allocations: 7.938 kB / 1.191 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.55, allocations: 52 kB / 1.191 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.55, allocations: 44 kB / 1.191 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.5524, allocations: 1.126 MB / 1.192 GB, free: 10.6 MB / 0.9512 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.008902/0.5613, allocations: 7.653 MB / 1.199 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.5623, allocations: 480.5 kB / 1.2 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.5629, allocations: 338.2 kB / 1.2 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008148/0.5637, allocations: 1.152 MB / 1.201 GB, free: 148 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.5638, allocations: 39.12 kB / 1.201 GB, free: 100 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 2.785e-06/0.5638, allocations: 4 kB / 1.201 GB, free: 96 kB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.002385/0.5662, allocations: 0.9653 MB / 1.202 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.5663, allocations: 55.97 kB / 1.202 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.5688, allocations: 1.787 MB / 1.204 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.025e-05/0.5689, allocations: 41.7 kB / 1.204 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007891/0.5697, allocations: 0.9277 MB / 1.205 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.5699, allocations: 220.9 kB / 1.205 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.5703, allocations: 222.7 kB / 1.205 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5704, allocations: 349.9 kB / 1.206 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.5711, allocations: 334.4 kB / 1.206 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.5722, allocations: 0.6899 MB / 1.207 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.5739, allocations: 1.012 MB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.5739, allocations: 4 kB / 1.208 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002588/0.5765, allocations: 1.218 MB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.5765, allocations: 12 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.5765, allocations: 12 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.054e-05/0.5766, allocations: 16 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.5776, allocations: 291.5 kB / 1.209 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/0.5776, allocations: 23.88 kB / 1.209 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5792, allocations: 162.4 kB / 1.209 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5794, allocations: 55.98 kB / 1.209 GB, free: 7.348 MB / 0.9669 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.0008352/0.5802, allocations: 441.3 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.5807, allocations: 193.7 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.5826, allocations: 0.8601 MB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.5827, allocations: 4 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.5827, allocations: 0 / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.5841, allocations: 0.7956 MB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004425/0.5885, allocations: 2.455 MB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5885, allocations: 4 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.5893, allocations: 188 kB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.5893, allocations: 4 kB / 1.214 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.5894, allocations: 12 kB / 1.214 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.5894, allocations: 8 kB / 1.214 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5894, allocations: 0 / 1.214 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.5919, allocations: 1.335 MB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/0.5927, allocations: 374.5 kB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/0.5931, allocations: 12 kB / 1.216 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5942, allocations: 67.89 kB / 1.216 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5943, allocations: 52.44 kB / 1.216 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.1e-05/0.5944, allocations: 43.97 kB / 1.216 GB, free: 316 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001778/0.5962, allocations: 1.247 MB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5962, allocations: 0 / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001735/0.5979, allocations: 0.6513 MB / 1.218 GB, free: 14.39 MB / 0.9825 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.003724/0.6017, allocations: 2.388 MB / 1.22 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.6036, allocations: 0.8946 MB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6036, allocations: 4.062 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000688/0.6043, allocations: 350.9 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005316/0.6097, allocations: 1.202 MB / 1.223 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/0.631, allocations: 14.24 MB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.6323, allocations: 1.405 MB / 1.238 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001712/0.6341, allocations: 386.1 kB / 1.238 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.6351, allocations: 0.7648 MB / 1.239 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/0.6351, allocations: 0 / 1.239 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.612/1.247, allocations: 57.31 MB / 1.295 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.337/10.58, allocations: 6.125 kB / 1.295 GB, free: 160.4 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches