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.007212/0.007212, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001657/0.001657, allocations: 197.3 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.722/2.722, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3139, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08585/0.3998, allocations: 77.16 MB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8408/1.241, allocations: 18.88 MB / 1.26 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005624/1.246, allocations: 114.6 kB / 1.26 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005078/1.252, allocations: 1.281 MB / 1.261 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01518/1.267, allocations: 3.811 MB / 1.265 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007527/1.274, allocations: 2.097 MB / 1.267 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01609/1.29, allocations: 6.691 MB / 1.274 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005266/1.296, allocations: 2.096 MB / 1.276 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008507/1.304, allocations: 2.371 MB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00559/1.31, allocations: 1.759 MB / 1.28 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009192/1.311, allocations: 199.4 kB / 1.28 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007297/1.318, allocations: 1.621 MB / 1.281 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001035/1.319, allocations: 0.5419 MB / 1.282 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004298/1.323, allocations: 1.251 MB / 1.283 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/1.336, allocations: 3.741 MB / 1.287 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/1.336, allocations: 1.188 kB / 1.287 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.845e-06/1.336, allocations: 0 / 1.287 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001828/1.337, allocations: 0 / 1.287 GB, free: 1.91 MB / 0.9981 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.01143/1.348, allocations: 2.788 MB / 1.29 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/1.348, allocations: 9.406 kB / 1.29 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/1.349, allocations: 202.6 kB / 1.29 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/1.351, allocations: 281 kB / 1.29 GB, free: 380 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006816/1.358, allocations: 2.033 MB / 1.292 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.358, allocations: 109.7 kB / 1.292 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007739/1.359, allocations: 145 kB / 1.292 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005783/1.365, allocations: 1.514 MB / 1.294 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/1.365, allocations: 14.06 kB / 1.294 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004496/1.365, allocations: 58.5 kB / 1.294 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.785e-05/1.366, allocations: 36.58 kB / 1.294 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/1.369, allocations: 1.129 MB / 1.295 GB, free: 14.81 MB / 1.014 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.01569/1.385, allocations: 7.619 MB / 1.302 GB, free: 9.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/1.386, allocations: 485.4 kB / 1.303 GB, free: 8.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/1.387, allocations: 339.2 kB / 1.303 GB, free: 8.801 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.388, allocations: 1.151 MB / 1.304 GB, free: 7.473 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/1.388, allocations: 47.31 kB / 1.304 GB, free: 7.422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 3.216e-06/1.388, allocations: 0 / 1.304 GB, free: 7.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.002981/1.391, allocations: 0.9727 MB / 1.305 GB, free: 7.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/1.391, allocations: 57.16 kB / 1.305 GB, free: 6.996 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/1.395, allocations: 1.788 MB / 1.307 GB, free: 6.277 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/1.396, allocations: 43.45 kB / 1.307 GB, free: 6.234 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009463/1.396, allocations: 0.94 MB / 1.308 GB, free: 5.492 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/1.397, allocations: 230.3 kB / 1.308 GB, free: 5.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004671/1.397, allocations: 226.5 kB / 1.309 GB, free: 5.207 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.397, allocations: 352.5 kB / 1.309 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008/1.398, allocations: 328.9 kB / 1.309 GB, free: 4.777 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.399, allocations: 0.6889 MB / 1.31 GB, free: 4.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/1.401, allocations: 1.01 MB / 1.311 GB, free: 3.547 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.401, allocations: 5.938 kB / 1.311 GB, free: 3.547 MB / 1.014 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002917/1.404, allocations: 1.229 MB / 1.312 GB, free: 3.062 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.404, allocations: 9.656 kB / 1.312 GB, free: 3.062 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/1.404, allocations: 10.25 kB / 1.312 GB, free: 3.062 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.352e-05/1.404, allocations: 15.62 kB / 1.312 GB, free: 3.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.405, allocations: 289.6 kB / 1.312 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.14e-05/1.405, allocations: 22.53 kB / 1.312 GB, free: 3.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/1.407, allocations: 167 kB / 1.313 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/1.408, allocations: 55.7 kB / 1.313 GB, free: 2.922 MB / 1.014 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.001136/1.409, allocations: 445.5 kB / 1.313 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007544/1.409, allocations: 201.3 kB / 1.313 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/1.412, allocations: 0.8659 MB / 1.314 GB, free: 2.176 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.412, allocations: 6.938 kB / 1.314 GB, free: 2.176 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.412, allocations: 4 kB / 1.314 GB, free: 2.172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/1.413, allocations: 0.7977 MB / 1.315 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005844/1.419, allocations: 2.45 MB / 1.317 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.419, allocations: 9 kB / 1.317 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/1.42, allocations: 180 kB / 1.317 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-05/1.42, allocations: 4.781 kB / 1.317 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/1.42, allocations: 17.36 kB / 1.317 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/1.42, allocations: 5.312 kB / 1.317 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.42, allocations: 2.5 kB / 1.317 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/1.424, allocations: 1.367 MB / 1.319 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.425, allocations: 381.6 kB / 1.319 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/1.426, allocations: 13.91 kB / 1.319 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.428, allocations: 72.36 kB / 1.319 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.428, allocations: 50.98 kB / 1.319 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.428, allocations: 35.88 kB / 1.319 GB, free: 15.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003021/1.431, allocations: 1.243 MB / 1.321 GB, free: 15.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.41e-07/1.431, allocations: 0 / 1.321 GB, free: 15.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003229/1.434, allocations: 0.6629 MB / 1.321 GB, free: 15.02 MB / 1.029 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.00495/1.439, allocations: 2.406 MB / 1.324 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.441, allocations: 0.8171 MB / 1.324 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.441, allocations: 1.219 kB / 1.324 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/1.442, allocations: 359.5 kB / 1.325 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006996/1.449, allocations: 1.198 MB / 1.326 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02507/1.474, allocations: 12.61 MB / 1.338 GB, free: 6.707 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.476, allocations: 1.413 MB / 1.34 GB, free: 5.914 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002109/1.478, allocations: 376.2 kB / 1.34 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.479, allocations: 0.771 MB / 1.341 GB, free: 5.242 MB / 1.029 GB Notification: Performance of SimCode: time 1.733e-06/1.479, allocations: 0.6562 kB / 1.341 GB, free: 5.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/1.587, allocations: 57.6 MB / 1.397 GB, free: 2.098 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/13.15, allocations: 15.92 kB / 1.397 GB, free: 2.082 MB / 1.076 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