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.002742/0.002742, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003613/0.003613, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.829/1.829, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.228/1.228, allocations: 91.21 MB / 381.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002155, allocations: 81.58 kB / 460.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 67.69 MB / 0.5157 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 1.205/1.538, allocations: 236 MB / 0.7462 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.06894/1.607, allocations: 36.56 MB / 0.7819 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009088/1.616, allocations: 103.4 kB / 0.782 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01157/1.628, allocations: 1.841 MB / 0.7838 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0219/1.65, allocations: 2.998 MB / 0.7867 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01891/1.669, allocations: 2.732 MB / 0.7894 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01714/1.686, allocations: 4.912 MB / 0.7942 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003695/1.69, allocations: 1.081 MB / 0.7952 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/1.7, allocations: 2.082 MB / 0.7972 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009488/1.71, allocations: 2.663 MB / 0.7998 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002097/1.712, allocations: 304 kB / 0.8001 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/1.733, allocations: 4.488 MB / 0.8045 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003025/1.737, allocations: 0.7589 MB / 0.8053 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009619/1.746, allocations: 1.71 MB / 0.8069 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03068/1.777, allocations: 5.465 MB / 0.8123 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/1.777, allocations: 0 / 0.8123 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.707e-06/1.777, allocations: 0 / 0.8123 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003459/1.778, allocations: 0 / 0.8123 GB, free: 15.47 MB / 0.6231 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.0233/1.801, allocations: 3.998 MB / 0.8162 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 0.000107/1.801, allocations: 15.97 kB / 0.8162 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002217/1.803, allocations: 308.5 kB / 0.8165 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/1.807, allocations: 343.9 kB / 0.8168 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007346/1.814, allocations: 1.843 MB / 0.8186 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/1.815, allocations: 172.5 kB / 0.8188 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006934/1.815, allocations: 239.8 kB / 0.819 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007616/1.823, allocations: 2.817 MB / 0.8218 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/1.823, allocations: 3.984 kB / 0.8218 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/1.823, allocations: 88 kB / 0.8218 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/1.823, allocations: 68.98 kB / 0.8219 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006234/1.83, allocations: 2.804 MB / 0.8246 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8255/2.655, allocations: 12.07 MB / 0.8364 GB, free: 152 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006763/2.662, allocations: 2.298 MB / 0.8387 GB, free: 151.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00316/2.665, allocations: 1.34 MB / 0.84 GB, free: 151.8 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/2.684, allocations: 8.707 MB / 0.8485 GB, free: 146 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/2.684, allocations: 64.16 kB / 0.8485 GB, free: 146 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=225): time 8.506e-06/2.684, allocations: 3.516 kB / 0.8485 GB, free: 146 MB / 0.6231 GB Notification: Performance of matching and sorting (n=229): time 0.02549/2.71, allocations: 9.338 MB / 0.8577 GB, free: 141.4 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/2.71, allocations: 155.2 kB / 0.8578 GB, free: 141.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/2.714, allocations: 1.799 MB / 0.8596 GB, free: 140.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003813/2.714, allocations: 60.05 kB / 0.8596 GB, free: 140.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/2.715, allocations: 1.115 MB / 0.8607 GB, free: 139.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009777/2.716, allocations: 0.7723 MB / 0.8615 GB, free: 139 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007254/2.717, allocations: 377.5 kB / 0.8618 GB, free: 138.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001471/2.717, allocations: 301.9 kB / 0.8621 GB, free: 138.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/2.719, allocations: 0.8971 MB / 0.863 GB, free: 138.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/2.721, allocations: 1.2 MB / 0.8642 GB, free: 137.6 MB / 0.6231 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.05512/2.776, allocations: 11.47 MB / 0.8754 GB, free: 132.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.414e-05/2.776, allocations: 3.031 kB / 0.8754 GB, free: 132.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01044/2.787, allocations: 3.266 MB / 0.8786 GB, free: 131 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/2.787, allocations: 8.688 kB / 0.8786 GB, free: 131 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/2.787, allocations: 7.906 kB / 0.8786 GB, free: 131 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/2.791, allocations: 0.8466 MB / 0.8794 GB, free: 130.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/2.792, allocations: 372.6 kB / 0.8798 GB, free: 130.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/2.812, allocations: 11.92 MB / 0.8914 GB, free: 121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/2.816, allocations: 69.84 kB / 0.8915 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/2.817, allocations: 92.53 kB / 0.8915 GB, free: 120.9 MB / 0.6231 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.002597/2.819, allocations: 484.1 kB / 0.892 GB, free: 120.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001816/2.821, allocations: 263 kB / 0.8923 GB, free: 120.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/2.83, allocations: 4.114 MB / 0.8963 GB, free: 116.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/2.83, allocations: 24 kB / 0.8963 GB, free: 116.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/2.83, allocations: 13.2 kB / 0.8963 GB, free: 116.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/2.83, allocations: 15.89 kB / 0.8963 GB, free: 116.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/2.844, allocations: 6.583 MB / 0.9028 GB, free: 110.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/2.844, allocations: 4 kB / 0.9028 GB, free: 110.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/2.845, allocations: 346.5 kB / 0.9031 GB, free: 109.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/2.848, allocations: 0.7322 MB / 0.9038 GB, free: 109.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/2.848, allocations: 79.95 kB / 0.9039 GB, free: 109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/2.861, allocations: 10.46 MB / 0.9141 GB, free: 98.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/2.861, allocations: 14.5 kB / 0.9141 GB, free: 98.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009644/2.87, allocations: 4.892 MB / 0.9189 GB, free: 93.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/2.872, allocations: 330.8 kB / 0.9192 GB, free: 92.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/2.872, allocations: 59.91 kB / 0.9193 GB, free: 92.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/2.874, allocations: 67.91 kB / 0.9193 GB, free: 92.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/2.874, allocations: 200.5 kB / 0.9195 GB, free: 92.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/2.875, allocations: 88.34 kB / 0.9196 GB, free: 92.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002102/2.877, allocations: 1.304 MB / 0.9209 GB, free: 91.12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/2.877, allocations: 1.844 kB / 0.9209 GB, free: 91.12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005452/2.882, allocations: 1.225 MB / 0.9221 GB, free: 89.97 MB / 0.6231 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.01162/2.894, allocations: 6.72 MB / 0.9286 GB, free: 83.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008474/2.902, allocations: 3.497 MB / 0.932 GB, free: 80.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/2.903, allocations: 0 / 0.932 GB, free: 80.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004425/2.907, allocations: 2.151 MB / 0.9341 GB, free: 77.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007854/2.915, allocations: 0.8631 MB / 0.935 GB, free: 77.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05392/2.969, allocations: 25.09 MB / 0.9595 GB, free: 50.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/2.971, allocations: 1.786 MB / 0.9612 GB, free: 48.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003332/2.974, allocations: 0.6146 MB / 0.9618 GB, free: 47.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/2.976, allocations: 1.206 MB / 0.963 GB, free: 46.6 MB / 0.6231 GB Notification: Performance of SimCode: time 2.885e-06/2.976, allocations: 3.938 kB / 0.963 GB, free: 46.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2457/3.222, allocations: 87.12 MB / 1.048 GB, free: 8.031 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/21.83, allocations: 11.17 kB / 1.048 GB, free: 8.023 MB / 0.67 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