Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_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.001722/0.001722, 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.001942/0.001942, allocations: 193.8 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7146/0.7146, allocations: 93.71 MB / 384.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003502/0.003502, allocations: 88.16 kB / 463.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1333, allocations: 68.26 MB / 0.5193 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3983/0.5317, allocations: 141.5 MB / 0.6575 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.5363, allocations: 4.174 MB / 0.6616 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.5365, allocations: 17.5 kB / 0.6616 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.537, allocations: 159.8 kB / 0.6618 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.5375, allocations: 211.7 kB / 0.662 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.5378, allocations: 127.1 kB / 0.6621 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.5382, allocations: 400.8 kB / 0.6625 GB, free: 456 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.5384, allocations: 110.8 kB / 0.6626 GB, free: 400 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.5387, allocations: 184.9 kB / 0.6627 GB, free: 292 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.539, allocations: 176.6 kB / 0.6629 GB, free: 188 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.539, allocations: 16.91 kB / 0.6629 GB, free: 188 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.5395, allocations: 268.1 kB / 0.6632 GB, free: 76 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.5395, allocations: 57.61 kB / 0.6632 GB, free: 28 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.5397, allocations: 139.5 kB / 0.6634 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.5402, allocations: 375.7 kB / 0.6637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5402, allocations: 0 / 0.6637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5402, allocations: 0 / 0.6637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.5402, allocations: 3.938 kB / 0.6637 GB, free: 15.7 MB / 494.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.0008835/0.5411, allocations: 0.6021 MB / 0.6643 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.5411, allocations: 7.469 kB / 0.6643 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.5412, allocations: 62.03 kB / 0.6644 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.5412, allocations: 38.28 kB / 0.6644 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.5417, allocations: 343.8 kB / 0.6647 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5417, allocations: 12.34 kB / 0.6648 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.5417, allocations: 21.12 kB / 0.6648 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.5421, allocations: 225.9 kB / 0.665 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5421, allocations: 6.75 kB / 0.665 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.5421, allocations: 4 kB / 0.665 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5421, allocations: 5.656 kB / 0.665 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.5423, allocations: 129.3 kB / 0.6651 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.5434, allocations: 0.7694 MB / 0.6659 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.5437, allocations: 137 kB / 0.666 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.5438, allocations: 71.84 kB / 0.6661 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.544, allocations: 248.6 kB / 0.6663 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.544, allocations: 33.12 kB / 0.6664 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 3.096e-06/0.5441, allocations: 0 / 0.6664 GB, free: 13.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001564/0.5456, allocations: 0.9175 MB / 0.6672 GB, free: 12.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5457, allocations: 53.81 kB / 0.6673 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.546, allocations: 339.8 kB / 0.6676 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.546, allocations: 29.7 kB / 0.6677 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.5462, allocations: 175 kB / 0.6678 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.5462, allocations: 59.19 kB / 0.6679 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.5463, allocations: 31.08 kB / 0.6679 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5464, allocations: 342.7 kB / 0.6682 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.5465, allocations: 52.78 kB / 0.6683 GB, free: 11.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.5466, allocations: 72.31 kB / 0.6684 GB, free: 11.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.5468, allocations: 126.1 kB / 0.6685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5468, allocations: 0 / 0.6685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004357/0.5473, allocations: 275.9 kB / 0.6687 GB, free: 11.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5473, allocations: 5.438 kB / 0.6687 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5473, allocations: 2.469 kB / 0.6687 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.5476, allocations: 96.59 kB / 0.6688 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.5477, allocations: 23.17 kB / 0.6689 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.5498, allocations: 1.944 MB / 0.6708 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.5499, allocations: 6.188 kB / 0.6708 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5499, allocations: 11.03 kB / 0.6708 GB, free: 9.551 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.0001418/0.5501, allocations: 150.7 kB / 0.6709 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.5501, allocations: 30.31 kB / 0.6709 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.5506, allocations: 292 kB / 0.6712 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5506, allocations: 2.078 kB / 0.6712 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5507, allocations: 6.844 kB / 0.6712 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5507, allocations: 7.969 kB / 0.6712 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.5515, allocations: 0.6144 MB / 0.6718 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.5515, allocations: 3.312 kB / 0.6718 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.5515, allocations: 8.312 kB / 0.6718 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.5518, allocations: 100.1 kB / 0.6719 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.5518, allocations: 10.48 kB / 0.672 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.5538, allocations: 1.952 MB / 0.6739 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5539, allocations: 9.969 kB / 0.6739 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.5544, allocations: 405.7 kB / 0.6743 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.5545, allocations: 108.1 kB / 0.6744 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.5546, allocations: 10.94 kB / 0.6744 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5547, allocations: 2.281 kB / 0.6744 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5547, allocations: 15.64 kB / 0.6744 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.5548, allocations: 6.734 kB / 0.6744 GB, free: 6.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.555, allocations: 248.5 kB / 0.6746 GB, free: 6.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.555, allocations: 5.906 kB / 0.6746 GB, free: 6.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.5554, allocations: 68.69 kB / 0.6747 GB, free: 6.156 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.00102/0.5564, allocations: 1.008 MB / 0.6757 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.5571, allocations: 300.2 kB / 0.676 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5571, allocations: 6.406 kB / 0.676 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.5575, allocations: 245.7 kB / 0.6762 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.5582, allocations: 102.1 kB / 0.6763 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.5629, allocations: 3.149 MB / 0.6794 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.5633, allocations: 0.7813 MB / 0.6801 GB, free: 1.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.5635, allocations: 39.14 kB / 0.6802 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5636, allocations: 98.38 kB / 0.6803 GB, free: 1.672 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5636, allocations: 0 / 0.6803 GB, free: 1.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.6008, allocations: 8.854 MB / 0.6889 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.989/10.59, allocations: 3.094 kB / 0.6889 GB, free: 12.38 MB / 0.4981 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches