Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",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.001438/0.001438, 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.002107/0.002107, allocations: 198.6 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6659/0.6659, allocations: 91.19 MB / 381.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 82.31 kB / 460.4 MB, free: 23.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1294, allocations: 67.7 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4085/0.538, allocations: 141.5 MB / 0.6539 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.5425, allocations: 4.157 MB / 0.658 GB, free: 5.316 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.5429, allocations: 12.28 kB / 0.658 GB, free: 5.312 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.5435, allocations: 163.6 kB / 0.6581 GB, free: 5.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005996/0.5442, allocations: 204.7 kB / 0.6583 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.5445, allocations: 127.8 kB / 0.6585 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.545, allocations: 378.9 kB / 0.6588 GB, free: 4.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.5453, allocations: 107.7 kB / 0.6589 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.5457, allocations: 170 kB / 0.6591 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.546, allocations: 176.8 kB / 0.6593 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.546, allocations: 17.88 kB / 0.6593 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.5466, allocations: 263.2 kB / 0.6595 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.5467, allocations: 56.38 kB / 0.6596 GB, free: 4.285 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.5468, allocations: 143.4 kB / 0.6597 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.5474, allocations: 367.3 kB / 0.6601 GB, free: 3.961 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5474, allocations: 0 / 0.6601 GB, free: 3.961 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5474, allocations: 0 / 0.6601 GB, free: 3.961 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.5474, allocations: 0 / 0.6601 GB, free: 3.961 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009354/0.5484, allocations: 0.5923 MB / 0.6606 GB, free: 3.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5484, allocations: 11.56 kB / 0.6607 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.5485, allocations: 54.23 kB / 0.6607 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.5486, allocations: 34.12 kB / 0.6607 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.549, allocations: 333 kB / 0.6611 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.5491, allocations: 13.62 kB / 0.6611 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.5491, allocations: 17.59 kB / 0.6611 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.5494, allocations: 232.2 kB / 0.6613 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5495, allocations: 0 / 0.6613 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.5495, allocations: 10.28 kB / 0.6613 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5495, allocations: 9.469 kB / 0.6613 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.5497, allocations: 133 kB / 0.6615 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5508, allocations: 0.7709 MB / 0.6622 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.5511, allocations: 133.7 kB / 0.6623 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.5512, allocations: 72.08 kB / 0.6624 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.5514, allocations: 246.7 kB / 0.6626 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5514, allocations: 34.56 kB / 0.6627 GB, free: 1.676 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.5514, allocations: 0 / 0.6627 GB, free: 1.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001539/0.5529, allocations: 0.9169 MB / 0.6636 GB, free: 0.875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.553, allocations: 54.44 kB / 0.6636 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.5533, allocations: 334.1 kB / 0.6639 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.5533, allocations: 25.7 kB / 0.664 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5534, allocations: 171.3 kB / 0.6641 GB, free: 420 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.5535, allocations: 58.55 kB / 0.6642 GB, free: 368 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.5535, allocations: 35.64 kB / 0.6642 GB, free: 336 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5537, allocations: 338.6 kB / 0.6645 GB, free: 16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.5538, allocations: 53.25 kB / 0.6646 GB, free: 15.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.5539, allocations: 67.28 kB / 0.6646 GB, free: 15.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.554, allocations: 129.8 kB / 0.6648 GB, free: 15.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5541, allocations: 0 / 0.6648 GB, free: 15.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004292/0.5545, allocations: 266.8 kB / 0.665 GB, free: 15.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5545, allocations: 9.125 kB / 0.665 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5545, allocations: 0 / 0.665 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.5548, allocations: 94.97 kB / 0.6651 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.5549, allocations: 14.88 kB / 0.6651 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.5568, allocations: 1.949 MB / 0.667 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.5569, allocations: 7.938 kB / 0.6671 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5569, allocations: 4.828 kB / 0.6671 GB, free: 13.85 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.5571, allocations: 158.9 kB / 0.6672 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.5571, allocations: 30.34 kB / 0.6672 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.5576, allocations: 284.3 kB / 0.6675 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5576, allocations: 0 / 0.6675 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5576, allocations: 12.16 kB / 0.6675 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5576, allocations: 3.984 kB / 0.6675 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.5584, allocations: 0.6312 MB / 0.6681 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5584, allocations: 0 / 0.6681 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.5584, allocations: 7.906 kB / 0.6681 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.5587, allocations: 92.3 kB / 0.6682 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.5587, allocations: 6.281 kB / 0.6682 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.5606, allocations: 1.955 MB / 0.6702 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5606, allocations: 0 / 0.6702 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.5611, allocations: 405.8 kB / 0.6705 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.5612, allocations: 104.1 kB / 0.6706 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.5613, allocations: 18.22 kB / 0.6707 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5614, allocations: 2.469 kB / 0.6707 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.5614, allocations: 17.14 kB / 0.6707 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.5615, allocations: 4.875 kB / 0.6707 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.5617, allocations: 254.3 kB / 0.6709 GB, free: 10.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5617, allocations: 0 / 0.6709 GB, free: 10.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.5621, allocations: 74.44 kB / 0.671 GB, free: 10.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009261/0.563, allocations: 1.019 MB / 0.672 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005737/0.5636, allocations: 288.4 kB / 0.6723 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5636, allocations: 0 / 0.6723 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.564, allocations: 256 kB / 0.6725 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.5647, allocations: 102 kB / 0.6726 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.5683, allocations: 3.094 MB / 0.6756 GB, free: 6.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.5687, allocations: 0.7818 MB / 0.6764 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.5688, allocations: 37 kB / 0.6764 GB, free: 6.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5689, allocations: 98.5 kB / 0.6765 GB, free: 6 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5689, allocations: 0 / 0.6765 GB, free: 6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.6, allocations: 8.737 MB / 0.685 GB, free: 1.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.315/9.915, allocations: 8 kB / 0.6851 GB, free: 1.402 MB / 494.1 MB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches