Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_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.005998/0.005998, allocations: 97.62 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.001427/0.001428, allocations: 201.8 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.607/2.607, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 71.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8746, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09777/0.9724, allocations: 77.17 MB / 1.296 GB, free: 4.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04638/1.019, allocations: 18.89 MB / 1.314 GB, free: 1.676 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006146/1.025, allocations: 111.3 kB / 1.314 GB, free: 1.566 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006667/1.032, allocations: 1.254 MB / 1.315 GB, free: 312 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/1.049, allocations: 3.627 MB / 1.319 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009021/1.059, allocations: 2.096 MB / 1.321 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01583/1.074, allocations: 6.679 MB / 1.327 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005463/1.08, allocations: 2.086 MB / 1.329 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008864/1.089, allocations: 2.305 MB / 1.332 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/1.095, allocations: 1.758 MB / 1.333 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/1.096, allocations: 200 kB / 1.334 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008542/1.105, allocations: 1.622 MB / 1.335 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/1.107, allocations: 0.5371 MB / 1.336 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004086/1.111, allocations: 1.248 MB / 1.337 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/1.124, allocations: 3.752 MB / 1.341 GB, free: 6.309 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/1.124, allocations: 4 kB / 1.341 GB, free: 6.305 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.265e-06/1.124, allocations: 0 / 1.341 GB, free: 6.305 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.488e-05/1.124, allocations: 0 / 1.341 GB, free: 6.305 MB / 1.061 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.008819/1.133, allocations: 2.794 MB / 1.343 GB, free: 3.441 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.133, allocations: 8.031 kB / 1.343 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004199/1.133, allocations: 202.8 kB / 1.344 GB, free: 3.227 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/1.135, allocations: 275.3 kB / 1.344 GB, free: 2.957 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/1.141, allocations: 2.035 MB / 1.346 GB, free: 0.875 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/1.142, allocations: 114.7 kB / 1.346 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/1.142, allocations: 144 kB / 1.346 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00487/1.147, allocations: 1.513 MB / 1.348 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/1.147, allocations: 7.938 kB / 1.348 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/1.147, allocations: 56 kB / 1.348 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/1.147, allocations: 40 kB / 1.348 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/1.151, allocations: 1.122 MB / 1.349 GB, free: 13.8 MB / 1.076 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.01064/1.161, allocations: 7.632 MB / 1.356 GB, free: 5.594 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/1.163, allocations: 476.6 kB / 1.357 GB, free: 5.117 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/1.163, allocations: 334.3 kB / 1.357 GB, free: 4.789 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/1.164, allocations: 1.148 MB / 1.358 GB, free: 3.383 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/1.164, allocations: 47.12 kB / 1.358 GB, free: 3.328 MB / 1.076 GB Notification: Performance of pre-optimization done (n=59): time 3.156e-06/1.164, allocations: 0 / 1.358 GB, free: 3.328 MB / 1.076 GB Notification: Performance of matching and sorting (n=59): time 0.002677/1.167, allocations: 0.9739 MB / 1.359 GB, free: 2.352 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/1.167, allocations: 63.97 kB / 1.359 GB, free: 2.277 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/1.17, allocations: 1.783 MB / 1.361 GB, free: 468 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.171, allocations: 41.7 kB / 1.361 GB, free: 420 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009718/1.172, allocations: 0.9373 MB / 1.362 GB, free: 15.46 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/1.172, allocations: 226.1 kB / 1.362 GB, free: 15.24 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/1.172, allocations: 230.8 kB / 1.362 GB, free: 15.01 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.173, allocations: 353.9 kB / 1.363 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008158/1.173, allocations: 330.4 kB / 1.363 GB, free: 14.34 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/1.174, allocations: 0.686 MB / 1.364 GB, free: 13.5 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/1.176, allocations: 1.012 MB / 1.365 GB, free: 12.35 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/1.176, allocations: 3.938 kB / 1.365 GB, free: 12.35 MB / 1.092 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002949/1.179, allocations: 1.227 MB / 1.366 GB, free: 11.11 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.179, allocations: 12 kB / 1.366 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/1.179, allocations: 12.09 kB / 1.366 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/1.179, allocations: 16 kB / 1.366 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.181, allocations: 287.6 kB / 1.366 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.639e-05/1.181, allocations: 19.94 kB / 1.366 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.182, allocations: 166.9 kB / 1.366 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.182, allocations: 59.98 kB / 1.366 GB, free: 10.55 MB / 1.092 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.001042/1.183, allocations: 441.3 kB / 1.367 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006538/1.184, allocations: 206.7 kB / 1.367 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/1.186, allocations: 0.8611 MB / 1.368 GB, free: 9.031 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/1.186, allocations: 8 kB / 1.368 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.186, allocations: 0 / 1.368 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001557/1.188, allocations: 0.8034 MB / 1.369 GB, free: 8.172 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005519/1.193, allocations: 2.451 MB / 1.371 GB, free: 5.625 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.194, allocations: 0 / 1.371 GB, free: 5.625 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008106/1.194, allocations: 180 kB / 1.371 GB, free: 5.449 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/1.194, allocations: 8 kB / 1.371 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/1.194, allocations: 16 kB / 1.371 GB, free: 5.426 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/1.194, allocations: 7.984 kB / 1.371 GB, free: 5.418 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.194, allocations: 0 / 1.371 GB, free: 5.418 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/1.197, allocations: 1.349 MB / 1.372 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/1.198, allocations: 375.5 kB / 1.373 GB, free: 3.637 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004789/1.199, allocations: 15.98 kB / 1.373 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.2, allocations: 71.91 kB / 1.373 GB, free: 3.551 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/1.2, allocations: 48.44 kB / 1.373 GB, free: 3.504 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.2, allocations: 35.97 kB / 1.373 GB, free: 3.469 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002541/1.203, allocations: 1.243 MB / 1.374 GB, free: 2.207 MB / 1.092 GB Notification: Performance of sort global known variables: time 6.41e-07/1.203, allocations: 0 / 1.374 GB, free: 2.207 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002253/1.205, allocations: 0.6587 MB / 1.375 GB, free: 1.547 MB / 1.092 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.00462/1.21, allocations: 2.404 MB / 1.377 GB, free: 15.11 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.212, allocations: 0.8195 MB / 1.378 GB, free: 14.3 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.212, allocations: 4 kB / 1.378 GB, free: 14.29 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008274/1.213, allocations: 360.4 kB / 1.378 GB, free: 13.94 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006932/1.22, allocations: 1.192 MB / 1.38 GB, free: 12.77 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.245, allocations: 12.64 MB / 1.392 GB, free: 15.61 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.246, allocations: 1.401 MB / 1.393 GB, free: 14.18 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001625/1.248, allocations: 380 kB / 1.394 GB, free: 13.81 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.249, allocations: 0.7725 MB / 1.394 GB, free: 13.04 MB / 1.123 GB Notification: Performance of SimCode: time 1.322e-06/1.249, allocations: 0 / 1.394 GB, free: 13.04 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.366, allocations: 57.6 MB / 1.451 GB, free: 4.113 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.91, allocations: 10.64 kB / 1.451 GB, free: 4.105 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches