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.001006/0.001006, allocations: 98.11 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.006621/0.006621, allocations: 169.3 kB / 16.26 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5789/0.5789, allocations: 89.65 MB / 381.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003805, allocations: 15.41 kB / 460.7 MB, free: 24.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 68.82 MB / 0.5171 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.3444/0.4523, allocations: 140.6 MB / 0.6545 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.4562, allocations: 4.474 MB / 0.6589 GB, free: 5.488 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.4563, allocations: 6.969 kB / 0.6589 GB, free: 5.484 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.4568, allocations: 167.1 kB / 0.659 GB, free: 5.352 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.4572, allocations: 229.9 kB / 0.6592 GB, free: 5.172 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.4579, allocations: 397.7 kB / 0.6596 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005653/0.4584, allocations: 0.7529 MB / 0.6604 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4586, allocations: 98.14 kB / 0.6605 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.459, allocations: 277.5 kB / 0.6607 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.4594, allocations: 301.5 kB / 0.661 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.4594, allocations: 16.66 kB / 0.661 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.46, allocations: 438.2 kB / 0.6614 GB, free: 3.898 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.4601, allocations: 73.58 kB / 0.6615 GB, free: 3.848 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.4602, allocations: 189.3 kB / 0.6617 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.4607, allocations: 0.4952 MB / 0.6622 GB, free: 3.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.4607, allocations: 4 kB / 0.6622 GB, free: 3.402 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4607, allocations: 0 / 0.6622 GB, free: 3.402 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4607, allocations: 0 / 0.6622 GB, free: 3.402 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.00108/0.4618, allocations: 0.6407 MB / 0.6628 GB, free: 2.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4619, allocations: 8.031 kB / 0.6628 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.4619, allocations: 65.56 kB / 0.6629 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.462, allocations: 33.62 kB / 0.6629 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.4623, allocations: 300.1 kB / 0.6632 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4623, allocations: 20.56 kB / 0.6632 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.4624, allocations: 24.44 kB / 0.6632 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.4629, allocations: 449.1 kB / 0.6637 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4629, allocations: 0 / 0.6637 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.463, allocations: 14.86 kB / 0.6637 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.463, allocations: 18.23 kB / 0.6637 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.4636, allocations: 478.8 kB / 0.6642 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.4653, allocations: 1.408 MB / 0.6655 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.4657, allocations: 245.6 kB / 0.6658 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.466, allocations: 206.5 kB / 0.666 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.4662, allocations: 337.8 kB / 0.6663 GB, free: 120 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4662, allocations: 41.88 kB / 0.6663 GB, free: 72 kB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.4662, allocations: 0 / 0.6663 GB, free: 72 kB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.002178/0.4684, allocations: 1.494 MB / 0.6678 GB, free: 14.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.4685, allocations: 54.47 kB / 0.6678 GB, free: 14.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.4687, allocations: 274.1 kB / 0.6681 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4687, allocations: 32.36 kB / 0.6681 GB, free: 14.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.4688, allocations: 147.7 kB / 0.6683 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/0.4689, allocations: 116.2 kB / 0.6684 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.4689, allocations: 32.3 kB / 0.6684 GB, free: 14.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.469, allocations: 343.7 kB / 0.6687 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.4693, allocations: 141.2 kB / 0.6689 GB, free: 14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.4695, allocations: 150 kB / 0.669 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.4699, allocations: 351.1 kB / 0.6693 GB, free: 13.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4699, allocations: 0 / 0.6693 GB, free: 13.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007441/0.4707, allocations: 0.499 MB / 0.6698 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4707, allocations: 5.344 kB / 0.6698 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4707, allocations: 0 / 0.6698 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.471, allocations: 114.1 kB / 0.6699 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.4713, allocations: 58.75 kB / 0.67 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.4733, allocations: 2.117 MB / 0.6721 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.4735, allocations: 15.81 kB / 0.6721 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.4735, allocations: 11.95 kB / 0.6721 GB, free: 11.51 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.0001464/0.4737, allocations: 170.7 kB / 0.6723 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.4737, allocations: 29.44 kB / 0.6723 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.4746, allocations: 0.6497 MB / 0.6729 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4746, allocations: 0 / 0.6729 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4746, allocations: 7.938 kB / 0.6729 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4747, allocations: 0 / 0.6729 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.475, allocations: 397.4 kB / 0.6733 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.475, allocations: 0.5625 kB / 0.6733 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.4752, allocations: 31.95 kB / 0.6733 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.4755, allocations: 124.8 kB / 0.6735 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4755, allocations: 20.61 kB / 0.6735 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.4776, allocations: 2.137 MB / 0.6756 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4776, allocations: 4 kB / 0.6756 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.4785, allocations: 0.6341 MB / 0.6762 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.4786, allocations: 112.8 kB / 0.6763 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.4786, allocations: 7.938 kB / 0.6763 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.4788, allocations: 8 kB / 0.6763 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.4788, allocations: 23.95 kB / 0.6763 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.4789, allocations: 11.98 kB / 0.6763 GB, free: 7.133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.479, allocations: 231 kB / 0.6766 GB, free: 6.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4791, allocations: 4 kB / 0.6766 GB, free: 6.906 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.4795, allocations: 112 kB / 0.6767 GB, free: 6.797 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.001233/0.4807, allocations: 1.246 MB / 0.6779 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007806/0.4815, allocations: 0.5138 MB / 0.6784 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4815, allocations: 4 kB / 0.6784 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.482, allocations: 362.3 kB / 0.6787 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.4826, allocations: 97.98 kB / 0.6788 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.4868, allocations: 3.783 MB / 0.6825 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.4871, allocations: 0.7834 MB / 0.6833 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000199/0.4873, allocations: 86.72 kB / 0.6834 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.4874, allocations: 99.38 kB / 0.6835 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4875, allocations: 0 / 0.6835 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6625/1.15, allocations: 9.715 MB / 0.693 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/1.15, allocations: 224 kB / 0.6932 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/3.154, allocations: 0 / 0.6932 GB, free: 5.875 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