Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.01142/0.01142, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001953/0.001953, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7116/0.7116, allocations: 91.18 MB / 381.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 84.2 kB / 0.5164 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1418, allocations: 67.7 MB / 0.5825 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.597/0.7388, allocations: 235.9 MB / 0.8129 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4516/1.19, allocations: 36.56 MB / 0.8486 GB, free: 1.156 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/1.195, allocations: 101.9 kB / 0.8487 GB, free: 1.156 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006408/1.201, allocations: 1.848 MB / 0.8505 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/1.211, allocations: 2.997 MB / 0.8534 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008645/1.22, allocations: 2.721 MB / 0.8561 GB, free: 1.008 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008356/1.228, allocations: 4.93 MB / 0.8609 GB, free: 1 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003415/1.232, allocations: 1.084 MB / 0.862 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006492/1.238, allocations: 2.134 MB / 0.8641 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006899/1.245, allocations: 2.663 MB / 0.8667 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001906/1.247, allocations: 308.2 kB / 0.867 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01513/1.262, allocations: 4.494 MB / 0.8713 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002494/1.265, allocations: 0.7537 MB / 0.8721 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007267/1.272, allocations: 1.715 MB / 0.8738 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/1.29, allocations: 5.576 MB / 0.8792 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.29, allocations: 0.9062 kB / 0.8792 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.515e-06/1.29, allocations: 0 / 0.8792 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002756/1.29, allocations: 0 / 0.8792 GB, free: 15.5 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.01357/1.303, allocations: 3.996 MB / 0.8831 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/1.304, allocations: 9.719 kB / 0.8831 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001503/1.305, allocations: 312.7 kB / 0.8834 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.307, allocations: 346.6 kB / 0.8837 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/1.312, allocations: 1.993 MB / 0.8857 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/1.313, allocations: 165.8 kB / 0.8858 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/1.314, allocations: 242.7 kB / 0.8861 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007562/1.321, allocations: 2.819 MB / 0.8888 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/1.322, allocations: 5.5 kB / 0.8888 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/1.322, allocations: 91.59 kB / 0.8889 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/1.322, allocations: 65.09 kB / 0.889 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004808/1.327, allocations: 2.807 MB / 0.8917 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/1.345, allocations: 12 MB / 0.9034 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003858/1.349, allocations: 2.302 MB / 0.9057 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/1.352, allocations: 1.33 MB / 0.907 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/1.364, allocations: 8.719 MB / 0.9155 GB, free: 304 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/1.364, allocations: 60.5 kB / 0.9156 GB, free: 264 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=225): time 4.138e-06/1.364, allocations: 0.5938 kB / 0.9156 GB, free: 264 kB / 0.6856 GB Notification: Performance of matching and sorting (n=229): time 0.01871/1.383, allocations: 9.333 MB / 0.9247 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/1.383, allocations: 158.4 kB / 0.9248 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/1.386, allocations: 1.793 MB / 0.9266 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004402/1.386, allocations: 66.17 kB / 0.9266 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007101/1.387, allocations: 1.114 MB / 0.9277 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009442/1.388, allocations: 0.7723 MB / 0.9285 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005822/1.388, allocations: 371 kB / 0.9288 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/1.388, allocations: 306.1 kB / 0.9291 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/1.39, allocations: 0.9011 MB / 0.93 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.392, allocations: 1.197 MB / 0.9312 GB, free: 10.18 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance4.m_flow = flowResistance4.m_flow_0 (flowResistance7.m_flow_0 - flowResistance5.m_flow_0 = flowResistance4.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance10.m_flow = flowResistance10.m_flow_0 (flowResistance6.m_flow_0 - flowResistance11.m_flow_0 = flowResistance10.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance8.m_flow = flowResistance8.m_flow_0 (flowResistance3.m_flow_0 - flowResistance9.m_flow_0 = flowResistance8.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance.m_flow = flowResistance.m_flow_0 (flowResistance2.m_flow_0 - flowResistance1.m_flow_0 = flowResistance.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.05229/1.444, allocations: 11.43 MB / 0.9423 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/1.444, allocations: 4 kB / 0.9423 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008072/1.452, allocations: 3.26 MB / 0.9455 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/1.452, allocations: 8.844 kB / 0.9455 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.452, allocations: 8 kB / 0.9455 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/1.455, allocations: 0.839 MB / 0.9464 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.457, allocations: 382.5 kB / 0.9467 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/1.476, allocations: 11.9 MB / 0.9583 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.478, allocations: 68 kB / 0.9584 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006963/1.479, allocations: 95.97 kB / 0.9585 GB, free: 1.234 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: flowResistance4.m_flow = flowResistance4.m_flow_0 flowResistance10.m_flow = flowResistance10.m_flow_0 flowResistance8.m_flow = flowResistance8.m_flow_0 flowResistance.m_flow = flowResistance.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,9,77.8%), (3,22,77.8%), (3,19,77.8%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001713/1.481, allocations: 491.7 kB / 0.959 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.482, allocations: 252.8 kB / 0.9592 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0084/1.49, allocations: 4.111 MB / 0.9632 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/1.491, allocations: 28 kB / 0.9633 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/1.491, allocations: 8 kB / 0.9633 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/1.491, allocations: 19.05 kB / 0.9633 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/1.505, allocations: 6.565 MB / 0.9697 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/1.505, allocations: 11.08 kB / 0.9697 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.506, allocations: 343.1 kB / 0.97 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/1.509, allocations: 0.7153 MB / 0.9707 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/1.509, allocations: 83.95 kB / 0.9708 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/1.522, allocations: 10.45 MB / 0.981 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.522, allocations: 8 kB / 0.981 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009758/1.532, allocations: 4.904 MB / 0.9858 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.533, allocations: 329.6 kB / 0.9861 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009132/1.534, allocations: 60 kB / 0.9862 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.536, allocations: 63.95 kB / 0.9862 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006259/1.536, allocations: 202.1 kB / 0.9864 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003119/1.537, allocations: 91.95 kB / 0.9865 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002364/1.539, allocations: 1.3 MB / 0.9878 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.91e-07/1.539, allocations: 0 / 0.9878 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005236/1.544, allocations: 1.222 MB / 0.989 GB, free: 1.57 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.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 (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,19,77.8%), (3,22,77.8%), (3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01293/1.557, allocations: 6.717 MB / 0.9955 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006879/1.564, allocations: 3.229 MB / 0.9987 GB, free: 7.73 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.564, allocations: 4 kB / 0.9987 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004557/1.569, allocations: 2.154 MB / 1.001 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006378/1.575, allocations: 0.8565 MB / 1.002 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04884/1.624, allocations: 21.71 MB / 1.023 GB, free: 14.71 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/1.626, allocations: 1.783 MB / 1.025 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002921/1.629, allocations: 0.6258 MB / 1.025 GB, free: 12.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/1.631, allocations: 1.194 MB / 1.026 GB, free: 11.11 MB / 0.795 GB Notification: Performance of SimCode: time 1.042e-06/1.631, allocations: 0 / 1.026 GB, free: 11.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/1.796, allocations: 89.44 MB / 1.114 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.08/18.88, allocations: 11.09 kB / 1.114 GB, free: 2.246 MB / 0.8731 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches