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.00737/0.00737, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001648/0.001648, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.703/0.703, allocations: 91.19 MB / 381.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 84.16 kB / 0.5164 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1408, allocations: 67.68 MB / 0.5825 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4274/0.5682, allocations: 141.5 MB / 0.7207 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004725/0.573, allocations: 4.147 MB / 0.7247 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.5733, allocations: 15.88 kB / 0.7247 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.5741, allocations: 163 kB / 0.7249 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.5748, allocations: 210.7 kB / 0.7251 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.5752, allocations: 123.6 kB / 0.7252 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005836/0.5758, allocations: 378.2 kB / 0.7256 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.5761, allocations: 114.2 kB / 0.7257 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.5765, allocations: 183.2 kB / 0.7258 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.5768, allocations: 171.3 kB / 0.726 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.5769, allocations: 16 kB / 0.726 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.5774, allocations: 271.6 kB / 0.7263 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.5775, allocations: 47.78 kB / 0.7263 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.5777, allocations: 151 kB / 0.7265 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.5784, allocations: 378.2 kB / 0.7268 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5784, allocations: 0 / 0.7268 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5784, allocations: 0 / 0.7268 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.5784, allocations: 0 / 0.7268 GB, free: 4.621 MB / 0.5606 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.001131/0.5796, allocations: 0.6113 MB / 0.7274 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5796, allocations: 8.031 kB / 0.7274 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.391e-05/0.5797, allocations: 59.55 kB / 0.7275 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.5798, allocations: 36.7 kB / 0.7275 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.5804, allocations: 363.5 kB / 0.7279 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5804, allocations: 16.75 kB / 0.7279 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.5805, allocations: 16.56 kB / 0.7279 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.5809, allocations: 237.5 kB / 0.7281 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5809, allocations: 0 / 0.7281 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.5809, allocations: 11.98 kB / 0.7281 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5809, allocations: 4 kB / 0.7281 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.5812, allocations: 127.9 kB / 0.7283 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.5823, allocations: 0.7644 MB / 0.729 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.5826, allocations: 130.5 kB / 0.7291 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.5827, allocations: 72.77 kB / 0.7292 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.5829, allocations: 247.3 kB / 0.7294 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5829, allocations: 34.56 kB / 0.7295 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.764e-06/0.583, allocations: 0 / 0.7295 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00166/0.5846, allocations: 0.9138 MB / 0.7304 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.5847, allocations: 55.41 kB / 0.7304 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.585, allocations: 325.7 kB / 0.7307 GB, free: 264 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5851, allocations: 33.7 kB / 0.7308 GB, free: 224 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.5852, allocations: 172.3 kB / 0.7309 GB, free: 44 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.5853, allocations: 59.66 kB / 0.731 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.5853, allocations: 37.7 kB / 0.731 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5855, allocations: 342.8 kB / 0.7314 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.5856, allocations: 51.92 kB / 0.7314 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.5857, allocations: 69.64 kB / 0.7315 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.5859, allocations: 123.8 kB / 0.7316 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5859, allocations: 0 / 0.7316 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004915/0.5864, allocations: 275.9 kB / 0.7318 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5864, allocations: 6.5 kB / 0.7319 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5864, allocations: 0 / 0.7319 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.5868, allocations: 100.7 kB / 0.732 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.5869, allocations: 15.98 kB / 0.732 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.5889, allocations: 1.958 MB / 0.7339 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.5891, allocations: 7.938 kB / 0.7339 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.5891, allocations: 4 kB / 0.7339 GB, free: 12.84 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.0001675/0.5893, allocations: 150.5 kB / 0.734 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.5894, allocations: 39.77 kB / 0.7341 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.5899, allocations: 280.3 kB / 0.7343 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5899, allocations: 3.938 kB / 0.7343 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5899, allocations: 0.875 kB / 0.7343 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5899, allocations: 4 kB / 0.7343 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.5908, allocations: 0.6147 MB / 0.7349 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5908, allocations: 8.031 kB / 0.735 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.5909, allocations: 4 kB / 0.735 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.5912, allocations: 100.7 kB / 0.7351 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.5912, allocations: 12.86 kB / 0.7351 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.5932, allocations: 1.951 MB / 0.737 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5933, allocations: 0 / 0.737 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.5938, allocations: 415.4 kB / 0.7374 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.594, allocations: 109.2 kB / 0.7375 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.594, allocations: 11.94 kB / 0.7375 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.5941, allocations: 0 / 0.7375 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5942, allocations: 15.98 kB / 0.7375 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5942, allocations: 11.59 kB / 0.7375 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002481/0.5945, allocations: 247.2 kB / 0.7377 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5945, allocations: 0 / 0.7377 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004154/0.5949, allocations: 72 kB / 0.7378 GB, free: 8.527 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.001018/0.5959, allocations: 1.016 MB / 0.7388 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006679/0.5966, allocations: 290.6 kB / 0.7391 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5966, allocations: 3.938 kB / 0.7391 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.5971, allocations: 246.6 kB / 0.7393 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.5978, allocations: 98.75 kB / 0.7394 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.6017, allocations: 3.098 MB / 0.7424 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.6021, allocations: 0.7795 MB / 0.7432 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.6022, allocations: 34.97 kB / 0.7432 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.6023, allocations: 91.41 kB / 0.7433 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.6023, allocations: 0 / 0.7433 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.6359, allocations: 8.872 MB / 0.752 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.97, allocations: 0 / 0.752 GB, free: 9.969 MB / 0.5919 GB (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