Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",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.6367 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.001325/0.001325, allocations: 193 kB / 16.14 MB, free: 6.734 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5975/0.5975, allocations: 89.51 MB / 379.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 83.95 kB / 457.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1049, allocations: 67.31 MB / 0.5127 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.359/0.4639, allocations: 142.5 MB / 0.6518 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.4683, allocations: 4.541 MB / 0.6563 GB, free: 7.449 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.4686, allocations: 7.219 kB / 0.6563 GB, free: 7.445 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.4691, allocations: 175 kB / 0.6564 GB, free: 7.305 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.4697, allocations: 234.7 kB / 0.6567 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.4705, allocations: 395.7 kB / 0.657 GB, free: 6.832 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006131/0.4712, allocations: 0.7513 MB / 0.6578 GB, free: 6.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.4713, allocations: 101.9 kB / 0.6579 GB, free: 6.371 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000679/0.472, allocations: 284.6 kB / 0.6581 GB, free: 6.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.4725, allocations: 311 kB / 0.6584 GB, free: 6.039 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.4726, allocations: 21.75 kB / 0.6585 GB, free: 6.039 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.4734, allocations: 449.7 kB / 0.6589 GB, free: 5.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.4735, allocations: 82.73 kB / 0.659 GB, free: 5.773 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.4736, allocations: 171.7 kB / 0.6591 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.4742, allocations: 0.5082 MB / 0.6596 GB, free: 5.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4742, allocations: 0 / 0.6596 GB, free: 5.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.4742, allocations: 0 / 0.6596 GB, free: 5.344 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.4742, allocations: 0 / 0.6596 GB, free: 5.344 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00121/0.4754, allocations: 0.6986 MB / 0.6603 GB, free: 4.758 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.4755, allocations: 7.875 kB / 0.6603 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.4755, allocations: 64.98 kB / 0.6604 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.4756, allocations: 37.58 kB / 0.6604 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.4759, allocations: 292.3 kB / 0.6607 GB, free: 4.391 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4759, allocations: 18.62 kB / 0.6607 GB, free: 4.383 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.476, allocations: 41.92 kB / 0.6607 GB, free: 4.359 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.4765, allocations: 441.7 kB / 0.6612 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4765, allocations: 0 / 0.6612 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.4766, allocations: 10.75 kB / 0.6612 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.4766, allocations: 13.22 kB / 0.6612 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.4772, allocations: 489.8 kB / 0.6617 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.4789, allocations: 1.398 MB / 0.663 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.4793, allocations: 249.9 kB / 0.6633 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.4796, allocations: 205 kB / 0.6635 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.4798, allocations: 339.6 kB / 0.6638 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4798, allocations: 38.5 kB / 0.6638 GB, free: 1.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.4798, allocations: 0 / 0.6638 GB, free: 1.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.002166/0.482, allocations: 1.495 MB / 0.6653 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.4821, allocations: 53.19 kB / 0.6653 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4823, allocations: 270 kB / 0.6656 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4823, allocations: 31.55 kB / 0.6656 GB, free: 0.582 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.4824, allocations: 147.5 kB / 0.6658 GB, free: 456 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.4825, allocations: 129.1 kB / 0.6659 GB, free: 340 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.4826, allocations: 60.48 kB / 0.6659 GB, free: 296 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4827, allocations: 346.3 kB / 0.6663 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.4829, allocations: 146.2 kB / 0.6664 GB, free: 15.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.4831, allocations: 142.2 kB / 0.6665 GB, free: 15.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.4836, allocations: 344.6 kB / 0.6669 GB, free: 15.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4836, allocations: 0 / 0.6669 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007521/0.4844, allocations: 0.5066 MB / 0.6674 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4844, allocations: 5.031 kB / 0.6674 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4844, allocations: 0 / 0.6674 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/0.4847, allocations: 111.6 kB / 0.6675 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.4849, allocations: 61.75 kB / 0.6675 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4869, allocations: 2.113 MB / 0.6696 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.4871, allocations: 11 kB / 0.6696 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.4871, allocations: 19.23 kB / 0.6696 GB, free: 13.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.4873, allocations: 161 kB / 0.6698 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.4873, allocations: 30.47 kB / 0.6698 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008664/0.4882, allocations: 0.6382 MB / 0.6704 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4882, allocations: 4.688 kB / 0.6704 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.4882, allocations: 0 / 0.6704 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4882, allocations: 2.688 kB / 0.6704 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.4886, allocations: 409.5 kB / 0.6708 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4886, allocations: 0.875 kB / 0.6708 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4888, allocations: 32.33 kB / 0.6709 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.4891, allocations: 133.1 kB / 0.671 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.4891, allocations: 19.17 kB / 0.671 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.491, allocations: 2.117 MB / 0.6731 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.491, allocations: 0 / 0.6731 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.4919, allocations: 0.6323 MB / 0.6737 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.4919, allocations: 99.73 kB / 0.6738 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.492, allocations: 10.75 kB / 0.6738 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4922, allocations: 11.97 kB / 0.6738 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.4922, allocations: 25.73 kB / 0.6738 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4923, allocations: 8.859 kB / 0.6738 GB, free: 9.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.4924, allocations: 237.5 kB / 0.6741 GB, free: 9.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4925, allocations: 0 / 0.6741 GB, free: 9.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.4929, allocations: 110.1 kB / 0.6742 GB, free: 9.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.494, allocations: 1.251 MB / 0.6754 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.4948, allocations: 0.5185 MB / 0.6759 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4948, allocations: 0 / 0.6759 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.4953, allocations: 365.5 kB / 0.6763 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.4959, allocations: 103 kB / 0.6763 GB, free: 8.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.4998, allocations: 3.692 MB / 0.68 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.5001, allocations: 0.788 MB / 0.6807 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.5003, allocations: 76.14 kB / 0.6808 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.5004, allocations: 108.7 kB / 0.6809 GB, free: 4.707 MB / 494.1 MB Notification: Performance of SimCode: time 2.043e-06/0.5004, allocations: 0 / 0.6809 GB, free: 4.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.536/2.037, allocations: 9.881 MB / 0.6906 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/2.037, allocations: 220.9 kB / 0.6908 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/4.605, allocations: 4 kB / 0.6908 GB, free: 12.31 MB / 0.4981 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches