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.008576/0.008576, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001943/0.001943, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.836/0.836, allocations: 93.69 MB / 384.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 80.16 kB / 0.5199 GB, free: 1.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4029, allocations: 68.27 MB / 0.5866 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1846/0.5875, allocations: 141.5 MB / 0.7248 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005001/0.5926, allocations: 4.164 MB / 0.7289 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.593, allocations: 19.88 kB / 0.7289 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.5938, allocations: 159 kB / 0.729 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.5945, allocations: 214.6 kB / 0.7292 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.5949, allocations: 123.6 kB / 0.7294 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.5954, allocations: 402.1 kB / 0.7297 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.5957, allocations: 113.8 kB / 0.7299 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.5961, allocations: 191.1 kB / 0.73 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.5964, allocations: 175.3 kB / 0.7302 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.5964, allocations: 20 kB / 0.7302 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.597, allocations: 267.6 kB / 0.7305 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.5971, allocations: 59.64 kB / 0.7305 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.5973, allocations: 135.2 kB / 0.7307 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.598, allocations: 383.8 kB / 0.731 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.598, allocations: 4 kB / 0.731 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.415e-06/0.598, allocations: 3.938 kB / 0.731 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.598, allocations: 0 / 0.731 GB, free: 5.902 MB / 0.5762 GB 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.001186/0.5992, allocations: 0.6152 MB / 0.7316 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5993, allocations: 15.97 kB / 0.7317 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.937e-05/0.5993, allocations: 50.73 kB / 0.7317 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.5994, allocations: 40.7 kB / 0.7317 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.6, allocations: 379.5 kB / 0.7321 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.6001, allocations: 12.75 kB / 0.7321 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.6001, allocations: 20.38 kB / 0.7321 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.6006, allocations: 233.6 kB / 0.7324 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6006, allocations: 0 / 0.7324 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.6006, allocations: 4 kB / 0.7324 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6006, allocations: 4 kB / 0.7324 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.6009, allocations: 131.9 kB / 0.7325 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.6021, allocations: 0.7694 MB / 0.7332 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.6024, allocations: 142.4 kB / 0.7334 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.6026, allocations: 73.05 kB / 0.7334 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.6028, allocations: 247.3 kB / 0.7337 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.6029, allocations: 38.5 kB / 0.7337 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.6029, allocations: 4 kB / 0.7337 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001761/0.6046, allocations: 0.9184 MB / 0.7346 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.6047, allocations: 51.41 kB / 0.7347 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.6051, allocations: 333.7 kB / 0.735 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.6051, allocations: 33.7 kB / 0.735 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6053, allocations: 176.3 kB / 0.7352 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.6053, allocations: 63.47 kB / 0.7352 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.6054, allocations: 33.67 kB / 0.7353 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6056, allocations: 346.8 kB / 0.7356 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.6057, allocations: 43.98 kB / 0.7357 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.6058, allocations: 68.45 kB / 0.7357 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.606, allocations: 123 kB / 0.7358 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.606, allocations: 4 kB / 0.7358 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004821/0.6065, allocations: 276.2 kB / 0.7361 GB, free: 308 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6065, allocations: 4 kB / 0.7361 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6066, allocations: 3.938 kB / 0.7361 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.6069, allocations: 92.73 kB / 0.7362 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.607, allocations: 23.98 kB / 0.7362 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3412/0.9482, allocations: 1.946 MB / 0.7381 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.9484, allocations: 3.047 kB / 0.7381 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.9484, allocations: 11.22 kB / 0.7381 GB, free: 150.4 MB / 0.5762 GB 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.0001672/0.9486, allocations: 148.2 kB / 0.7383 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.9487, allocations: 34.22 kB / 0.7383 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.9492, allocations: 284.8 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9493, allocations: 1.812 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9493, allocations: 6.25 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9493, allocations: 5.578 kB / 0.7386 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/0.9501, allocations: 0.6203 MB / 0.7392 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9502, allocations: 2.297 kB / 0.7392 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.9502, allocations: 12.2 kB / 0.7392 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.9505, allocations: 98.61 kB / 0.7393 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.9506, allocations: 4.328 kB / 0.7393 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.9525, allocations: 1.956 MB / 0.7412 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9525, allocations: 5.781 kB / 0.7412 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.9531, allocations: 407.8 kB / 0.7416 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.9532, allocations: 106.9 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.9532, allocations: 10.8 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.9533, allocations: 4.766 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.9534, allocations: 13.03 kB / 0.7417 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9534, allocations: 4.922 kB / 0.7418 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002803/0.9537, allocations: 255.3 kB / 0.742 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9537, allocations: 0 / 0.742 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004042/0.9541, allocations: 83.64 kB / 0.7421 GB, free: 147.4 MB / 0.5762 GB 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.0009308/0.955, allocations: 1.013 MB / 0.7431 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006136/0.9557, allocations: 305.6 kB / 0.7434 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.9557, allocations: 0 / 0.7434 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.9561, allocations: 244.5 kB / 0.7436 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.9568, allocations: 105.7 kB / 0.7437 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.9611, allocations: 3.123 MB / 0.7467 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.9615, allocations: 0.7802 MB / 0.7475 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.9616, allocations: 31.84 kB / 0.7475 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.9618, allocations: 107.5 kB / 0.7476 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.9618, allocations: 0.5312 kB / 0.7476 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.9993, allocations: 8.98 MB / 0.7564 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.56, allocations: 13.12 kB / 0.7564 GB, free: 136.6 MB / 0.5762 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