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.006969/0.006969, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001634/0.001634, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6493/0.6493, allocations: 91.19 MB / 381.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 87.86 kB / 0.5164 GB, free: 9.488 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 67.69 MB / 0.5825 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5077/0.6336, allocations: 235.9 MB / 0.8129 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3997/1.033, allocations: 36.56 MB / 0.8486 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/1.036, allocations: 102.4 kB / 0.8487 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005223/1.042, allocations: 1.843 MB / 0.8505 GB, free: 1.145 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009406/1.051, allocations: 2.999 MB / 0.8534 GB, free: 1.066 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008526/1.06, allocations: 2.723 MB / 0.8561 GB, free: 1.004 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008342/1.068, allocations: 4.93 MB / 0.8609 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/1.07, allocations: 1.089 MB / 0.862 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/1.075, allocations: 2.139 MB / 0.8641 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005819/1.081, allocations: 2.653 MB / 0.8667 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001277/1.083, allocations: 310.2 kB / 0.867 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01292/1.096, allocations: 4.499 MB / 0.8713 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/1.097, allocations: 0.7516 MB / 0.8721 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003915/1.101, allocations: 1.712 MB / 0.8738 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/1.113, allocations: 5.579 MB / 0.8792 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.113, allocations: 0 / 0.8792 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.813e-06/1.113, allocations: 0.7188 kB / 0.8792 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001038/1.113, allocations: 0 / 0.8792 GB, free: 15.49 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.009002/1.122, allocations: 3.997 MB / 0.8831 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.122, allocations: 11.19 kB / 0.8831 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003749/1.123, allocations: 308.7 kB / 0.8834 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007898/1.124, allocations: 344.3 kB / 0.8837 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/1.127, allocations: 1.993 MB / 0.8857 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.033e-05/1.127, allocations: 167.3 kB / 0.8858 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/1.128, allocations: 241 kB / 0.8861 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/1.132, allocations: 2.821 MB / 0.8888 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/1.132, allocations: 0.875 kB / 0.8888 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/1.132, allocations: 93.05 kB / 0.8889 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.248e-05/1.132, allocations: 69.69 kB / 0.889 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/1.136, allocations: 2.804 MB / 0.8917 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/1.151, allocations: 12 MB / 0.9034 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/1.154, allocations: 2.299 MB / 0.9057 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/1.156, allocations: 1.335 MB / 0.907 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/1.167, allocations: 8.719 MB / 0.9155 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.858e-05/1.167, allocations: 60.62 kB / 0.9156 GB, free: 256 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=225): time 4.979e-06/1.167, allocations: 4.875 kB / 0.9156 GB, free: 252 kB / 0.6856 GB Notification: Performance of matching and sorting (n=229): time 0.01552/1.182, allocations: 9.334 MB / 0.9247 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/1.183, allocations: 162 kB / 0.9248 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.185, allocations: 1.791 MB / 0.9266 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/1.185, allocations: 64.67 kB / 0.9266 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/1.186, allocations: 1.115 MB / 0.9277 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006915/1.186, allocations: 0.7682 MB / 0.9285 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005616/1.187, allocations: 375 kB / 0.9288 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.187, allocations: 305.1 kB / 0.9291 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/1.188, allocations: 0.8938 MB / 0.93 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.19, allocations: 1.202 MB / 0.9312 GB, free: 10.17 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.04844/1.239, allocations: 11.44 MB / 0.9424 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/1.239, allocations: 0 / 0.9424 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007043/1.246, allocations: 3.261 MB / 0.9455 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/1.246, allocations: 11.94 kB / 0.9455 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/1.246, allocations: 8.031 kB / 0.9456 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/1.248, allocations: 0.8337 MB / 0.9464 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.25, allocations: 381.7 kB / 0.9467 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/1.267, allocations: 11.89 MB / 0.9583 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.269, allocations: 72.12 kB / 0.9584 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000634/1.27, allocations: 99.89 kB / 0.9585 GB, free: 1.207 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.00189/1.272, allocations: 490.4 kB / 0.959 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.273, allocations: 248.8 kB / 0.9592 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008581/1.281, allocations: 4.107 MB / 0.9632 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.281, allocations: 24 kB / 0.9632 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.105e-05/1.281, allocations: 12 kB / 0.9633 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.846e-05/1.282, allocations: 11.95 kB / 0.9633 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.295, allocations: 6.57 MB / 0.9697 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.295, allocations: 4 kB / 0.9697 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.296, allocations: 354.1 kB / 0.97 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/1.299, allocations: 0.7164 MB / 0.9707 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/1.299, allocations: 83.95 kB / 0.9708 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/1.311, allocations: 10.45 MB / 0.981 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.311, allocations: 4 kB / 0.981 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009681/1.321, allocations: 4.912 MB / 0.9858 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.322, allocations: 326 kB / 0.9861 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000791/1.322, allocations: 56 kB / 0.9862 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.324, allocations: 67.95 kB / 0.9862 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/1.325, allocations: 204.2 kB / 0.9864 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/1.325, allocations: 90.98 kB / 0.9865 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002302/1.327, allocations: 1.308 MB / 0.9878 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.327, allocations: 0 / 0.9878 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004891/1.332, allocations: 1.222 MB / 0.989 GB, free: 1.539 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.01189/1.344, allocations: 6.724 MB / 0.9956 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006428/1.351, allocations: 3.221 MB / 0.9987 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.351, allocations: 4 kB / 0.9987 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004028/1.355, allocations: 2.163 MB / 1.001 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006118/1.361, allocations: 0.8509 MB / 1.002 GB, free: 4.703 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/1.404, allocations: 21.7 MB / 1.023 GB, free: 14.69 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/1.406, allocations: 1.787 MB / 1.025 GB, free: 12.87 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002461/1.408, allocations: 0.6313 MB / 1.025 GB, free: 12.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/1.41, allocations: 1.198 MB / 1.026 GB, free: 11.09 MB / 0.795 GB Notification: Performance of SimCode: time 8.72e-07/1.41, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/1.557, allocations: 89.44 MB / 1.114 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.84, allocations: 7.922 kB / 1.114 GB, free: 2.215 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