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.001329/0.001329, 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.001359/0.001359, allocations: 194.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.395/1.395, 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.7041/0.7041, allocations: 93.72 MB / 384.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 90.05 kB / 463.5 MB, free: 21.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1275, allocations: 68.26 MB / 0.5193 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3688/0.4963, allocations: 141.5 MB / 0.6575 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00498/0.5014, allocations: 4.177 MB / 0.6616 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.5017, allocations: 22.88 kB / 0.6616 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.5023, allocations: 158.5 kB / 0.6618 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005832/0.5029, allocations: 217 kB / 0.662 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.5033, allocations: 123.1 kB / 0.6621 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.5038, allocations: 404.1 kB / 0.6625 GB, free: 452 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.504, allocations: 102 kB / 0.6626 GB, free: 404 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.5044, allocations: 190.6 kB / 0.6627 GB, free: 288 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.5047, allocations: 178.6 kB / 0.6629 GB, free: 184 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.5047, allocations: 15.56 kB / 0.6629 GB, free: 184 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005582/0.5053, allocations: 261.7 kB / 0.6632 GB, free: 80 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.5054, allocations: 55.66 kB / 0.6632 GB, free: 32 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.5055, allocations: 141.4 kB / 0.6634 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.5062, allocations: 376.3 kB / 0.6637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5062, allocations: 0 / 0.6637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5062, allocations: 0 / 0.6637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.5062, allocations: 7.922 kB / 0.6637 GB, free: 15.69 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.001044/0.5072, allocations: 0.5983 MB / 0.6643 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5073, allocations: 9.938 kB / 0.6643 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.5074, allocations: 55.88 kB / 0.6644 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.5074, allocations: 41.91 kB / 0.6644 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.5079, allocations: 343.7 kB / 0.6647 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.5079, allocations: 11.66 kB / 0.6648 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.508, allocations: 25.33 kB / 0.6648 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.5083, allocations: 222 kB / 0.665 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5084, allocations: 6.703 kB / 0.665 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5084, allocations: 8 kB / 0.665 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5084, allocations: 5.094 kB / 0.665 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.5086, allocations: 125.4 kB / 0.6651 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.5097, allocations: 0.7757 MB / 0.6659 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.51, allocations: 135.9 kB / 0.666 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.5101, allocations: 69.89 kB / 0.6661 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.5104, allocations: 243.3 kB / 0.6663 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.5104, allocations: 38.5 kB / 0.6664 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.5104, allocations: 6.094 kB / 0.6664 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001588/0.512, allocations: 0.9122 MB / 0.6673 GB, free: 12.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.512, allocations: 53.72 kB / 0.6673 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.5124, allocations: 339.7 kB / 0.6676 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5124, allocations: 29.7 kB / 0.6677 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.5126, allocations: 171 kB / 0.6678 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.5126, allocations: 58.84 kB / 0.6679 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.5127, allocations: 35.83 kB / 0.6679 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5129, allocations: 342.3 kB / 0.6682 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.513, allocations: 48.38 kB / 0.6683 GB, free: 11.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.5131, allocations: 62.11 kB / 0.6683 GB, free: 11.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5133, allocations: 132.6 kB / 0.6685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5133, allocations: 0 / 0.6685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004393/0.5137, allocations: 273.6 kB / 0.6687 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5137, allocations: 7.344 kB / 0.6687 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5137, allocations: 0 / 0.6687 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.514, allocations: 100.2 kB / 0.6688 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.5141, allocations: 15.72 kB / 0.6688 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.5163, allocations: 1.947 MB / 0.6707 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.5164, allocations: 13.75 kB / 0.6708 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5164, allocations: 3.031 kB / 0.6708 GB, free: 9.562 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.0001457/0.5166, allocations: 154.6 kB / 0.6709 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.5166, allocations: 34.75 kB / 0.6709 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.5172, allocations: 288.1 kB / 0.6712 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5172, allocations: 0 / 0.6712 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5172, allocations: 6.688 kB / 0.6712 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5172, allocations: 3.984 kB / 0.6712 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.518, allocations: 0.6181 MB / 0.6718 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.518, allocations: 7 kB / 0.6718 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.518, allocations: 8.469 kB / 0.6718 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.5183, allocations: 100.7 kB / 0.6719 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5183, allocations: 10.03 kB / 0.672 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.5204, allocations: 1.951 MB / 0.6739 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5204, allocations: 3.984 kB / 0.6739 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.521, allocations: 405.1 kB / 0.6742 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.5211, allocations: 108.6 kB / 0.6744 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.5211, allocations: 10.5 kB / 0.6744 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.5212, allocations: 6.5 kB / 0.6744 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.5213, allocations: 15.61 kB / 0.6744 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.5213, allocations: 6.344 kB / 0.6744 GB, free: 6.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.5216, allocations: 255.2 kB / 0.6746 GB, free: 6.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5216, allocations: 0 / 0.6746 GB, free: 6.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.5219, allocations: 68.34 kB / 0.6747 GB, free: 6.168 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.000979/0.5229, allocations: 1.018 MB / 0.6757 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005824/0.5235, 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.144e-06/0.5235, allocations: 0 / 0.676 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.524, allocations: 249.6 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.0006247/0.5246, allocations: 101.5 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.003793/0.5284, allocations: 3.154 MB / 0.6794 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.5288, allocations: 0.7798 MB / 0.6802 GB, free: 1.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.5289, allocations: 35.38 kB / 0.6802 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.5291, allocations: 96.41 kB / 0.6803 GB, free: 1.676 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5291, allocations: 1.781 kB / 0.6803 GB, free: 1.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.5671, allocations: 8.857 MB / 0.6889 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.03, allocations: 5.781 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/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