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.001264/0.001264, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001224/0.001224, allocations: 187 kB / 17.34 MB, free: 5.742 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7385/0.7385, allocations: 91.18 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 75.88 kB / 0.5175 GB, free: 4.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3374, allocations: 67.68 MB / 0.5836 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6345/0.972, allocations: 307.7 MB / 0.8842 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0446/1.017, allocations: 37.95 MB / 0.9212 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/1.02, allocations: 95.38 kB / 0.9213 GB, free: 14.8 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004529/1.024, allocations: 1.399 MB / 0.9227 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/1.035, allocations: 3.327 MB / 0.9259 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01026/1.045, allocations: 3.431 MB / 0.9293 GB, free: 6.613 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006194/1.051, allocations: 3.729 MB / 0.9329 GB, free: 2.867 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/1.053, allocations: 0.8251 MB / 0.9337 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/1.058, allocations: 2.355 MB / 0.936 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/1.061, allocations: 1.474 MB / 0.9375 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/1.062, allocations: 232 kB / 0.9377 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/1.076, allocations: 6.709 MB / 0.9442 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009636/1.077, allocations: 0.5719 MB / 0.9448 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002361/1.08, allocations: 1.395 MB / 0.9461 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/1.091, allocations: 4.974 MB / 0.951 GB, free: 248 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.091, allocations: 3.984 kB / 0.951 GB, free: 244 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/1.091, allocations: 0 / 0.951 GB, free: 244 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001175/1.091, allocations: 3.938 kB / 0.951 GB, free: 240 kB / 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.0086/1.1, allocations: 3.618 MB / 0.9545 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.1, allocations: 12.03 kB / 0.9546 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/1.105, allocations: 0.6091 MB / 0.9552 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/1.108, allocations: 1.732 MB / 0.9568 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004716/1.109, allocations: 413.6 kB / 0.9572 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006178/1.11, allocations: 211.9 kB / 0.9574 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00579/1.115, allocations: 2.319 MB / 0.9597 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/1.115, allocations: 0 / 0.9597 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/1.116, allocations: 87.94 kB / 0.9598 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.941e-05/1.116, allocations: 76.05 kB / 0.9599 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/1.12, allocations: 1.878 MB / 0.9617 GB, free: 5.004 MB / 0.7012 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.01405/1.134, allocations: 9.243 MB / 0.9707 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/1.139, allocations: 1.971 MB / 0.9726 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/1.141, allocations: 1.06 MB / 0.9737 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/1.143, allocations: 2.611 MB / 0.9762 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/1.143, allocations: 56.67 kB / 0.9763 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 5.53e-06/1.143, allocations: 7.938 kB / 0.9763 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01783/1.161, allocations: 6.635 MB / 0.9828 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.161, allocations: 77.41 kB / 0.9828 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/1.163, allocations: 1.506 MB / 0.9843 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002995/1.164, allocations: 53.7 kB / 0.9844 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007501/1.164, allocations: 1.024 MB / 0.9854 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007134/1.165, allocations: 0.5967 MB / 0.986 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006788/1.166, allocations: 323.4 kB / 0.9863 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.166, allocations: 301.1 kB / 0.9865 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.168, allocations: 0.6949 MB / 0.9872 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/1.17, allocations: 0.8528 MB / 0.9881 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/1.173, allocations: 1.589 MB / 0.9896 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.173, allocations: 0 / 0.9896 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007176/1.18, allocations: 2.72 MB / 0.9923 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/1.18, allocations: 9.406 kB / 0.9923 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.18, allocations: 0 / 0.9923 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/1.182, allocations: 0.5672 MB / 0.9928 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/1.185, allocations: 423.5 kB / 0.9932 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/1.198, allocations: 10.12 MB / 1.003 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.2, allocations: 91.92 kB / 1.003 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/1.2, allocations: 120 kB / 1.003 GB, free: 7.891 MB / 0.7481 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.001047/1.201, allocations: 377.5 kB / 1.004 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/1.202, allocations: 221.2 kB / 1.004 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009667/1.212, allocations: 4.069 MB / 1.008 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.212, allocations: 23.98 kB / 1.008 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.522e-05/1.212, allocations: 8 kB / 1.008 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/1.212, allocations: 11.95 kB / 1.008 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.224, allocations: 5.275 MB / 1.013 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.224, allocations: 4 kB / 1.013 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/1.226, allocations: 411.7 kB / 1.013 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/1.228, allocations: 0.5776 MB / 1.014 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/1.228, allocations: 75.95 kB / 1.014 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/1.241, allocations: 10.13 MB / 1.024 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.241, allocations: 0 / 1.024 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2818/1.523, allocations: 3.746 MB / 1.028 GB, free: 326.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009552/1.524, allocations: 437.9 kB / 1.028 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/1.524, allocations: 38.44 kB / 1.028 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.525, allocations: 84.98 kB / 1.028 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/1.526, allocations: 157.3 kB / 1.028 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.526, allocations: 114.3 kB / 1.028 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001631/1.527, allocations: 1.016 MB / 1.029 GB, free: 326 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.483e-06/1.527, allocations: 0.9375 kB / 1.029 GB, free: 326 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003403/1.531, allocations: 0.8764 MB / 1.03 GB, free: 326 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.00219/1.533, allocations: 1.043 MB / 1.031 GB, free: 325.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005878/1.539, allocations: 2.698 MB / 1.034 GB, free: 324.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.539, allocations: 4 kB / 1.034 GB, free: 324.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.542, allocations: 1.898 MB / 1.036 GB, free: 324 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.545, allocations: 0.5747 MB / 1.036 GB, free: 323.8 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/1.552, allocations: 4.872 MB / 1.041 GB, free: 321.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/1.553, allocations: 1.565 MB / 1.043 GB, free: 320.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.555, allocations: 395.1 kB / 1.043 GB, free: 320.8 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/1.555, allocations: 0 / 1.043 GB, free: 320.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.06534/1.62, allocations: 87.44 MB / 1.128 GB, free: 239.4 MB / 0.7637 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches