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.008778/0.008778, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.00185/0.00185, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.344/1.344, allocations: 222.9 MB / 240.4 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.7353/0.7353, allocations: 91.18 MB / 381.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 83.88 kB / 0.5169 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.397, allocations: 67.69 MB / 0.583 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6394/1.036, allocations: 307.7 MB / 0.8835 GB, free: 5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04314/1.08, allocations: 37.95 MB / 0.9205 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003946/1.084, allocations: 95.38 kB / 0.9206 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005465/1.089, allocations: 1.403 MB / 0.922 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01535/1.105, allocations: 3.327 MB / 0.9253 GB, free: 10.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01621/1.121, allocations: 3.423 MB / 0.9286 GB, free: 6.645 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00932/1.13, allocations: 3.737 MB / 0.9323 GB, free: 2.891 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/1.133, allocations: 0.8291 MB / 0.9331 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007363/1.14, allocations: 2.355 MB / 0.9354 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004097/1.145, allocations: 1.47 MB / 0.9368 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001352/1.146, allocations: 232 kB / 0.937 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0203/1.166, allocations: 6.716 MB / 0.9436 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.168, allocations: 0.5758 MB / 0.9441 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002789/1.17, allocations: 1.391 MB / 0.9455 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01668/1.187, allocations: 4.97 MB / 0.9504 GB, free: 272 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.187, allocations: 0 / 0.9504 GB, free: 272 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.244e-06/1.187, allocations: 0 / 0.9504 GB, free: 272 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001577/1.187, allocations: 0 / 0.9504 GB, free: 272 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.01057/1.198, allocations: 3.622 MB / 0.9539 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.198, allocations: 8.031 kB / 0.9539 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/1.203, allocations: 0.6208 MB / 0.9545 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/1.207, allocations: 1.728 MB / 0.9562 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005989/1.208, allocations: 409.7 kB / 0.9566 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008386/1.209, allocations: 215.9 kB / 0.9568 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006228/1.215, allocations: 2.323 MB / 0.9591 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/1.215, allocations: 0 / 0.9591 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/1.215, allocations: 87.94 kB / 0.9591 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.773e-05/1.215, allocations: 79.98 kB / 0.9592 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/1.22, allocations: 1.878 MB / 0.961 GB, free: 5.02 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.01351/1.234, allocations: 9.232 MB / 0.9701 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/1.238, allocations: 1.967 MB / 0.972 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/1.24, allocations: 1.071 MB / 0.973 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/1.242, allocations: 2.607 MB / 0.9756 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/1.242, allocations: 48.67 kB / 0.9756 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 3.356e-06/1.242, allocations: 7.938 kB / 0.9756 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.0174/1.26, allocations: 6.636 MB / 0.9821 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/1.26, allocations: 69.41 kB / 0.9822 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/1.262, allocations: 1.506 MB / 0.9836 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.262, allocations: 57.7 kB / 0.9837 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/1.263, allocations: 1.032 MB / 0.9847 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/1.263, allocations: 0.5889 MB / 0.9853 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005401/1.264, allocations: 319.5 kB / 0.9856 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.264, allocations: 305.1 kB / 0.9859 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/1.266, allocations: 0.6988 MB / 0.9866 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/1.267, allocations: 0.8488 MB / 0.9874 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/1.271, allocations: 1.585 MB / 0.9889 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.271, allocations: 0 / 0.9889 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007252/1.278, allocations: 2.724 MB / 0.9916 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.278, allocations: 8 kB / 0.9916 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.278, allocations: 7.922 kB / 0.9916 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/1.28, allocations: 0.5584 MB / 0.9922 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/1.282, allocations: 427.4 kB / 0.9926 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/1.295, allocations: 10.13 MB / 1.002 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.297, allocations: 87.97 kB / 1.003 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/1.297, allocations: 120 kB / 1.003 GB, free: 7.918 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.0008874/1.298, allocations: 385.5 kB / 1.003 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/1.299, allocations: 217.5 kB / 1.003 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009015/1.308, allocations: 4.073 MB / 1.007 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.308, allocations: 16 kB / 1.007 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.308, allocations: 8 kB / 1.007 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/1.308, allocations: 7.969 kB / 1.007 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/1.319, allocations: 5.275 MB / 1.012 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.319, allocations: 224 / 1.012 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.321, allocations: 411.5 kB / 1.013 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/1.323, allocations: 0.5737 MB / 1.013 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.323, allocations: 75.94 kB / 1.013 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.335, allocations: 10.12 MB / 1.023 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.335, allocations: 8.094 kB / 1.023 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3668/1.702, allocations: 3.75 MB / 1.027 GB, free: 326.5 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.703, allocations: 440 kB / 1.027 GB, free: 326.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/1.703, allocations: 36.45 kB / 1.027 GB, free: 326.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.705, allocations: 89.95 kB / 1.028 GB, free: 326.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/1.705, allocations: 157.9 kB / 1.028 GB, free: 326.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.705, allocations: 113.9 kB / 1.028 GB, free: 326.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001543/1.707, allocations: 1.017 MB / 1.029 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.4e-07/1.707, allocations: 0.7812 kB / 1.029 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003092/1.71, allocations: 0.8743 MB / 1.03 GB, free: 326.2 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.002082/1.712, allocations: 1.055 MB / 1.031 GB, free: 326.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006281/1.718, allocations: 2.695 MB / 1.033 GB, free: 325 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.718, allocations: 0 / 1.033 GB, free: 325 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.722, allocations: 1.906 MB / 1.035 GB, free: 324.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.725, allocations: 0.5715 MB / 1.036 GB, free: 323.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/1.733, allocations: 4.809 MB / 1.04 GB, free: 321.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/1.733, allocations: 1.565 MB / 1.042 GB, free: 321.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002695/1.736, allocations: 1.441 MB / 1.043 GB, free: 320.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/1.737, allocations: 312 kB / 1.044 GB, free: 320.8 MB / 0.7637 GB Notification: Performance of SimCode: time 8.42e-07/1.737, allocations: 0 / 1.044 GB, free: 320.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.06183/1.799, allocations: 43.64 MB / 1.086 GB, free: 282.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches