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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001317/0.001317, allocations: 193 kB / 16.13 MB, free: 6.66 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5892/0.5892, allocations: 89.52 MB / 379.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 80.16 kB / 457.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 67.31 MB / 0.5127 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3541/0.4596, allocations: 139.6 MB / 0.649 GB, free: 12.99 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.4635, allocations: 4.148 MB / 0.653 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.4637, allocations: 5.969 kB / 0.653 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.4642, allocations: 139.8 kB / 0.6532 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.4646, allocations: 159.5 kB / 0.6533 GB, free: 9.793 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.4649, allocations: 108.8 kB / 0.6534 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.4652, allocations: 332.8 kB / 0.6538 GB, free: 9.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.4654, allocations: 84.89 kB / 0.6538 GB, free: 9.484 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.4656, allocations: 135.9 kB / 0.654 GB, free: 9.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.4658, allocations: 153.4 kB / 0.6541 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4659, allocations: 16.94 kB / 0.6541 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.4663, allocations: 273.8 kB / 0.6544 GB, free: 9.203 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.4663, allocations: 35.61 kB / 0.6544 GB, free: 9.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.521e-05/0.4664, allocations: 114.7 kB / 0.6545 GB, free: 9.105 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.4668, allocations: 284.6 kB / 0.6548 GB, free: 8.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.4668, allocations: 0 / 0.6548 GB, free: 8.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.4668, allocations: 0 / 0.6548 GB, free: 8.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.4668, allocations: 2.375 kB / 0.6548 GB, free: 8.93 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.0007191/0.4675, allocations: 0.5236 MB / 0.6553 GB, free: 8.434 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4676, allocations: 7.531 kB / 0.6553 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.4676, allocations: 58.08 kB / 0.6554 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.4677, allocations: 24.38 kB / 0.6554 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4679, allocations: 240 kB / 0.6556 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.468, allocations: 15.94 kB / 0.6556 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.468, allocations: 17.41 kB / 0.6557 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.4684, allocations: 232.4 kB / 0.6559 GB, free: 7.941 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4684, allocations: 3.984 kB / 0.6559 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.4684, allocations: 6.031 kB / 0.6559 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4684, allocations: 5.906 kB / 0.6559 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.4686, allocations: 127.2 kB / 0.656 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.4695, allocations: 0.7371 MB / 0.6567 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.4699, allocations: 143.5 kB / 0.6569 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.47, allocations: 74.14 kB / 0.6569 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.4702, allocations: 241.2 kB / 0.6572 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4702, allocations: 36.41 kB / 0.6572 GB, free: 6.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.4702, allocations: 0 / 0.6572 GB, free: 6.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001671/0.4719, allocations: 0.8903 MB / 0.6581 GB, free: 5.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4719, allocations: 53.78 kB / 0.6581 GB, free: 5.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.4722, allocations: 236.2 kB / 0.6584 GB, free: 5.754 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4722, allocations: 25.7 kB / 0.6584 GB, free: 5.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.4723, allocations: 129.2 kB / 0.6585 GB, free: 5.602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.4723, allocations: 65.45 kB / 0.6586 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.4724, allocations: 36.73 kB / 0.6586 GB, free: 5.512 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4725, allocations: 332 kB / 0.6589 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.4726, allocations: 57 kB / 0.659 GB, free: 5.152 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.4727, allocations: 67.44 kB / 0.659 GB, free: 5.109 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4729, allocations: 126.8 kB / 0.6592 GB, free: 5.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4729, allocations: 6.469 kB / 0.6592 GB, free: 5.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003941/0.4733, allocations: 257.6 kB / 0.6594 GB, free: 4.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4733, allocations: 5.5 kB / 0.6594 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4733, allocations: 0 / 0.6594 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.4736, allocations: 98.94 kB / 0.6595 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.4737, allocations: 14.66 kB / 0.6595 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.4754, allocations: 1.808 MB / 0.6613 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.4755, allocations: 3.938 kB / 0.6613 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.4755, allocations: 15.08 kB / 0.6613 GB, free: 3.164 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.0001184/0.4756, allocations: 147.8 kB / 0.6615 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.4757, allocations: 17.88 kB / 0.6615 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.4761, allocations: 274.9 kB / 0.6617 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4761, allocations: 2.781 kB / 0.6617 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.4761, allocations: 0 / 0.6617 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4761, allocations: 0 / 0.6617 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006451/0.4768, allocations: 0.5866 MB / 0.6623 GB, free: 2.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4768, allocations: 3 kB / 0.6623 GB, free: 2.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.4768, allocations: 8.828 kB / 0.6623 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.4771, allocations: 110.9 kB / 0.6624 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4771, allocations: 0 / 0.6624 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.4787, allocations: 1.812 MB / 0.6642 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4787, allocations: 0 / 0.6642 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.4791, allocations: 400.3 kB / 0.6646 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.4792, allocations: 97.86 kB / 0.6647 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.4792, allocations: 6.438 kB / 0.6647 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4794, allocations: 2.812 kB / 0.6647 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.4794, allocations: 16.86 kB / 0.6647 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4794, allocations: 13.11 kB / 0.6647 GB, free: 136 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4796, allocations: 183.6 kB / 0.6649 GB, free: 8 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4796, allocations: 7.938 kB / 0.6649 GB, free: 0 / 478.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.4799, allocations: 66.02 kB / 0.665 GB, free: 15.99 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.0007662/0.4807, allocations: 0.9967 MB / 0.6659 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004811/0.4812, allocations: 294.1 kB / 0.6662 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4812, allocations: 2.688 kB / 0.6662 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.4815, allocations: 249 kB / 0.6664 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.4821, allocations: 93.73 kB / 0.6665 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.485, allocations: 2.771 MB / 0.6692 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.4852, allocations: 0.7476 MB / 0.67 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.4853, allocations: 27.14 kB / 0.67 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.4854, allocations: 58.83 kB / 0.6701 GB, free: 11.74 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4854, allocations: 0 / 0.6701 GB, free: 11.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.551/2.036, allocations: 7.415 MB / 0.6773 GB, free: 8.117 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/2.037, allocations: 231.6 kB / 0.6775 GB, free: 7.855 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/4.607, allocations: 0 / 0.6775 GB, free: 7.855 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