Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007846/0.007845, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.00169/0.00169, allocations: 196 kB / 16.68 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7482/0.7482, allocations: 91.2 MB / 381.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 83.88 kB / 0.5169 GB, free: 8.957 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.14, allocations: 67.68 MB / 0.583 GB, free: 5.199 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 1.078/1.218, allocations: 307.7 MB / 0.8835 GB, free: 1.656 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04949/1.267, allocations: 37.96 MB / 0.9206 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/1.271, allocations: 92 kB / 0.9206 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004236/1.275, allocations: 1.41 MB / 0.922 GB, free: 1.246 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01243/1.287, allocations: 3.379 MB / 0.9253 GB, free: 1.117 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01031/1.298, allocations: 3.441 MB / 0.9287 GB, free: 1.004 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007577/1.305, allocations: 3.751 MB / 0.9323 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/1.308, allocations: 0.8251 MB / 0.9331 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005953/1.314, allocations: 2.359 MB / 0.9355 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/1.317, allocations: 1.469 MB / 0.9369 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001107/1.318, allocations: 235.8 kB / 0.9371 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01448/1.332, allocations: 6.704 MB / 0.9437 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/1.334, allocations: 0.5781 MB / 0.9442 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003132/1.337, allocations: 1.396 MB / 0.9456 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/1.351, allocations: 4.98 MB / 0.9504 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.352, allocations: 0 / 0.9504 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.655e-06/1.352, allocations: 0 / 0.9504 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002171/1.352, allocations: 0 / 0.9504 GB, free: 13.16 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0105/1.362, allocations: 3.623 MB / 0.954 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.362, allocations: 8 kB / 0.954 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/1.367, allocations: 0.6064 MB / 0.9546 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/1.371, allocations: 1.732 MB / 0.9563 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/1.372, allocations: 417.5 kB / 0.9567 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005962/1.372, allocations: 216.1 kB / 0.9569 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005775/1.378, allocations: 2.315 MB / 0.9591 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/1.378, allocations: 10.52 kB / 0.9592 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/1.378, allocations: 79.94 kB / 0.9592 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.039e-05/1.378, allocations: 82.78 kB / 0.9593 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004572/1.383, allocations: 1.874 MB / 0.9611 GB, free: 6.688 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/1.398, allocations: 9.241 MB / 0.9702 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/1.402, allocations: 1.959 MB / 0.9721 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/1.404, allocations: 1.07 MB / 0.9731 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/1.406, allocations: 2.61 MB / 0.9757 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.406, allocations: 51.09 kB / 0.9757 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=174): time 4.699e-06/1.406, allocations: 0 / 0.9757 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=176): time 0.01903/1.425, allocations: 6.644 MB / 0.9822 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.426, allocations: 71.94 kB / 0.9823 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/1.429, allocations: 1.505 MB / 0.9837 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.429, allocations: 53.81 kB / 0.9838 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009933/1.43, allocations: 1.028 MB / 0.9848 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007263/1.431, allocations: 0.5991 MB / 0.9854 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/1.431, allocations: 319.5 kB / 0.9857 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.432, allocations: 309.1 kB / 0.986 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/1.433, allocations: 0.6949 MB / 0.9867 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/1.435, allocations: 0.8474 MB / 0.9875 GB, free: 12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/1.439, allocations: 1.589 MB / 0.989 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.439, allocations: 0.875 kB / 0.989 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007277/1.446, allocations: 2.727 MB / 0.9917 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/1.446, allocations: 4 kB / 0.9917 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.446, allocations: 4 kB / 0.9917 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/1.448, allocations: 0.559 MB / 0.9923 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.45, allocations: 427 kB / 0.9927 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/1.463, allocations: 10.13 MB / 1.003 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.465, allocations: 83.97 kB / 1.003 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004286/1.465, allocations: 124 kB / 1.003 GB, free: 11.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001156/1.467, allocations: 385 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/1.467, allocations: 209.3 kB / 1.003 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009667/1.477, allocations: 4.069 MB / 1.007 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.477, allocations: 24 kB / 1.007 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/1.477, allocations: 4 kB / 1.007 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.477, allocations: 11.97 kB / 1.007 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/1.492, allocations: 5.282 MB / 1.012 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.492, allocations: 4 kB / 1.012 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.494, allocations: 411.2 kB / 1.013 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/1.496, allocations: 0.5621 MB / 1.013 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004204/1.497, allocations: 82.47 kB / 1.014 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/1.511, allocations: 10.12 MB / 1.023 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.511, allocations: 0 / 1.023 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.521, allocations: 3.761 MB / 1.027 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.523, allocations: 441.9 kB / 1.027 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/1.523, allocations: 36.19 kB / 1.028 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.525, allocations: 95.92 kB / 1.028 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/1.525, allocations: 152.6 kB / 1.028 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/1.526, allocations: 115.9 kB / 1.028 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001824/1.527, allocations: 1.018 MB / 1.029 GB, free: 232 kB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.527, allocations: 0 / 1.029 GB, free: 232 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003906/1.531, allocations: 0.8756 MB / 1.03 GB, free: 15.35 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.dp_int) * 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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002538/1.534, allocations: 1.048 MB / 1.031 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006669/1.541, allocations: 2.687 MB / 1.033 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.541, allocations: 4.312 kB / 1.033 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004237/1.545, allocations: 1.904 MB / 1.035 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.548, allocations: 0.5694 MB / 1.036 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.559, allocations: 4.809 MB / 1.04 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/1.561, allocations: 1.574 MB / 1.042 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003686/1.565, allocations: 1.44 MB / 1.043 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.566, allocations: 319.2 kB / 1.044 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of SimCode: time 9.41e-07/1.566, allocations: 0 / 1.044 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of Templates: time 0.0756/1.642, allocations: 42.83 MB / 1.086 GB, free: 6.609 MB / 0.8106 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches