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.0009822/0.0009856, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009521/0.009521, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5726/0.5726, allocations: 89.64 MB / 381.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 10.44 kB / 460.7 MB, free: 24.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 68.84 MB / 0.5172 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3427/0.4494, allocations: 137.8 MB / 0.6517 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.453, allocations: 4.091 MB / 0.6557 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.4531, allocations: 6.844 kB / 0.6557 GB, free: 8.098 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.4535, allocations: 135.1 kB / 0.6558 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.4538, allocations: 167.5 kB / 0.656 GB, free: 7.859 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.454, allocations: 108.3 kB / 0.6561 GB, free: 7.777 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.4543, allocations: 320 kB / 0.6564 GB, free: 7.598 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.4545, allocations: 93.03 kB / 0.6565 GB, free: 7.555 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.4547, allocations: 124.7 kB / 0.6566 GB, free: 7.488 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.4549, allocations: 144.5 kB / 0.6567 GB, free: 7.414 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.4549, allocations: 8.344 kB / 0.6567 GB, free: 7.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.4552, allocations: 258.3 kB / 0.657 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.4553, allocations: 31.61 kB / 0.657 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.4554, allocations: 134.8 kB / 0.6572 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.4557, allocations: 278.1 kB / 0.6574 GB, free: 7.012 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4557, allocations: 3.938 kB / 0.6574 GB, free: 7.008 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4557, allocations: 0 / 0.6574 GB, free: 7.008 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.4557, allocations: 0 / 0.6574 GB, free: 7.008 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.0006018/0.4563, allocations: 493 kB / 0.6579 GB, free: 6.543 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4564, allocations: 8.031 kB / 0.6579 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.4564, allocations: 58.64 kB / 0.658 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.4565, allocations: 23.28 kB / 0.658 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.4567, allocations: 245.5 kB / 0.6582 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4567, allocations: 10.62 kB / 0.6582 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.4567, allocations: 26.31 kB / 0.6582 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.4571, allocations: 227.8 kB / 0.6585 GB, free: 6.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.4571, allocations: 0 / 0.6585 GB, free: 6.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4571, allocations: 6.938 kB / 0.6585 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.4571, allocations: 6.906 kB / 0.6585 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.4573, allocations: 130.2 kB / 0.6586 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.4581, allocations: 0.7411 MB / 0.6593 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4584, allocations: 134.9 kB / 0.6595 GB, free: 5.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.4585, allocations: 75.86 kB / 0.6595 GB, free: 5.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.4587, allocations: 240.3 kB / 0.6598 GB, free: 4.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.4587, allocations: 45.48 kB / 0.6598 GB, free: 4.879 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.965e-06/0.4587, allocations: 3.984 kB / 0.6598 GB, free: 4.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001295/0.46, allocations: 0.8836 MB / 0.6607 GB, free: 4.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.46, allocations: 54.38 kB / 0.6607 GB, free: 4.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.4602, allocations: 238.9 kB / 0.6609 GB, free: 3.863 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4603, allocations: 28.61 kB / 0.661 GB, free: 3.832 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.4603, allocations: 128.3 kB / 0.6611 GB, free: 3.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.4604, allocations: 65.05 kB / 0.6612 GB, free: 3.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.4604, allocations: 22.59 kB / 0.6612 GB, free: 3.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.4605, allocations: 336.5 kB / 0.6615 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.4606, allocations: 42.11 kB / 0.6615 GB, free: 3.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.4607, allocations: 81.59 kB / 0.6616 GB, free: 3.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.4609, allocations: 121.9 kB / 0.6617 GB, free: 3.148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4609, allocations: 0 / 0.6617 GB, free: 3.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003872/0.4613, allocations: 257.5 kB / 0.662 GB, free: 2.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4613, allocations: 9.812 kB / 0.662 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4613, allocations: 2.5 kB / 0.662 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.4616, allocations: 90.92 kB / 0.6621 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.4617, allocations: 25.58 kB / 0.6621 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.4633, allocations: 1.805 MB / 0.6639 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.4634, allocations: 4 kB / 0.6639 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4634, allocations: 5.188 kB / 0.6639 GB, free: 1.285 MB / 478.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.000108/0.4635, allocations: 155 kB / 0.664 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.4635, allocations: 22.22 kB / 0.664 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.464, allocations: 265.2 kB / 0.6643 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.464, allocations: 3 kB / 0.6643 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.464, allocations: 4 kB / 0.6643 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.464, allocations: 3.938 kB / 0.6643 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.4646, allocations: 0.5852 MB / 0.6649 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4646, allocations: 0 / 0.6649 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.4647, allocations: 8.781 kB / 0.6649 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.4649, allocations: 105.6 kB / 0.665 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4649, allocations: 12.55 kB / 0.665 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.4665, allocations: 1.804 MB / 0.6668 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4665, allocations: 2.844 kB / 0.6668 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.467, allocations: 411.8 kB / 0.6672 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.467, allocations: 94.69 kB / 0.6672 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.4671, allocations: 10.45 kB / 0.6673 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4672, allocations: 10.66 kB / 0.6673 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.4672, allocations: 10.14 kB / 0.6673 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4672, allocations: 10.72 kB / 0.6673 GB, free: 14.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.4674, allocations: 187.2 kB / 0.6675 GB, free: 14.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4674, allocations: 0 / 0.6675 GB, free: 14.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.4677, allocations: 76.66 kB / 0.6675 GB, free: 14.09 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.00076/0.4684, allocations: 0.9929 MB / 0.6685 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.4689, allocations: 299.2 kB / 0.6688 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4689, allocations: 0 / 0.6688 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.4693, allocations: 244.7 kB / 0.669 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.4699, allocations: 90.47 kB / 0.6691 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.4727, allocations: 2.842 MB / 0.6719 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4729, allocations: 0.7502 MB / 0.6726 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.473, allocations: 28.27 kB / 0.6726 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.4731, allocations: 60.39 kB / 0.6727 GB, free: 9.781 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4731, allocations: 0 / 0.6727 GB, free: 9.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.675/1.148, allocations: 7.284 MB / 0.6798 GB, free: 3.621 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/1.148, allocations: 228.3 kB / 0.68 GB, free: 3.359 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/3.066, allocations: 0 / 0.68 GB, free: 3.359 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches