Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001195/0.001195, allocations: 194.4 kB / 16.14 MB, free: 6.637 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6911/0.6911, allocations: 93.71 MB / 383.7 MB, free: 7.176 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 82.16 kB / 462.7 MB, free: 22.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1271, allocations: 68.27 MB / 0.5185 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5869/0.714, allocations: 307.8 MB / 0.8192 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.4121/1.126, allocations: 38.51 MB / 0.8568 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/1.13, allocations: 125.5 kB / 0.8569 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005158/1.135, allocations: 1.235 MB / 0.8581 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/1.146, allocations: 3.042 MB / 0.8611 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009192/1.155, allocations: 2.976 MB / 0.864 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006301/1.162, allocations: 4.342 MB / 0.8682 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/1.164, allocations: 0.7687 MB / 0.869 GB, free: 16.38 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005679/1.17, allocations: 2.293 MB / 0.8712 GB, free: 16.37 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/1.173, allocations: 1.453 MB / 0.8726 GB, free: 16.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/1.174, allocations: 157.5 kB / 0.8728 GB, free: 16.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/1.188, allocations: 7.08 MB / 0.8797 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/1.19, allocations: 0.5019 MB / 0.8802 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003006/1.193, allocations: 1.344 MB / 0.8815 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/1.204, allocations: 4.774 MB / 0.8861 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.204, allocations: 0 / 0.8861 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/1.204, allocations: 0 / 0.8861 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001801/1.205, allocations: 0 / 0.8861 GB, free: 14.69 MB / 0.6387 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.01077/1.215, allocations: 3.666 MB / 0.8897 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.216, allocations: 14.75 kB / 0.8897 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005011/1.221, allocations: 0.6096 MB / 0.8903 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/1.224, allocations: 1.634 MB / 0.8919 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/1.224, allocations: 412 kB / 0.8923 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006046/1.225, allocations: 222.5 kB / 0.8925 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005341/1.23, allocations: 2.315 MB / 0.8948 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/1.231, allocations: 3.375 kB / 0.8948 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/1.231, allocations: 82.77 kB / 0.8949 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-05/1.231, allocations: 85.12 kB / 0.895 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/1.235, allocations: 1.88 MB / 0.8968 GB, free: 11.79 MB / 0.6387 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.01242/1.247, allocations: 9.305 MB / 0.9059 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/1.252, allocations: 1.968 MB / 0.9078 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/1.254, allocations: 1.053 MB / 0.9088 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/1.256, allocations: 2.616 MB / 0.9114 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.256, allocations: 53.28 kB / 0.9114 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 5.32e-06/1.256, allocations: 112 / 0.9114 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01699/1.273, allocations: 6.657 MB / 0.9179 GB, free: 92 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/1.273, allocations: 73.34 kB / 0.918 GB, free: 4 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.275, allocations: 1.555 MB / 0.9195 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/1.275, allocations: 55.89 kB / 0.9196 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/1.276, allocations: 1.058 MB / 0.9206 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006539/1.277, allocations: 0.595 MB / 0.9212 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007241/1.277, allocations: 327.5 kB / 0.9215 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.278, allocations: 301.1 kB / 0.9218 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.279, allocations: 0.7004 MB / 0.9225 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.281, allocations: 0.8479 MB / 0.9233 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003541/1.285, allocations: 1.578 MB / 0.9248 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.285, allocations: 3.984 kB / 0.9248 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007169/1.292, allocations: 2.72 MB / 0.9275 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.292, allocations: 11 kB / 0.9275 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.292, allocations: 4 kB / 0.9275 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/1.294, allocations: 0.5615 MB / 0.9281 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.296, allocations: 427.1 kB / 0.9285 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/1.308, allocations: 9.369 MB / 0.9376 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/1.31, allocations: 138.3 kB / 0.9378 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004705/1.311, allocations: 118.2 kB / 0.9379 GB, free: 15.1 MB / 0.67 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.001157/1.312, allocations: 386.3 kB / 0.9382 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/1.313, allocations: 217.2 kB / 0.9384 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009847/1.323, allocations: 4.072 MB / 0.9424 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.323, allocations: 20 kB / 0.9424 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/1.323, allocations: 8 kB / 0.9424 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/1.323, allocations: 7.969 kB / 0.9425 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.334, allocations: 5.325 MB / 0.9477 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.334, allocations: 0 / 0.9477 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.337, allocations: 407 kB / 0.948 GB, free: 5.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001814/1.338, allocations: 0.5737 MB / 0.9486 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/1.339, allocations: 83.88 kB / 0.9487 GB, free: 5.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.351, allocations: 9.376 MB / 0.9578 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.351, allocations: 8.156 kB / 0.9578 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009173/1.36, allocations: 3.757 MB / 0.9615 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.361, allocations: 438 kB / 0.9619 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005039/1.361, allocations: 42.62 kB / 0.962 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.363, allocations: 131.8 kB / 0.9621 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003475/1.363, allocations: 152.2 kB / 0.9622 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.364, allocations: 115.9 kB / 0.9624 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001642/1.365, allocations: 1.055 MB / 0.9634 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/1.365, allocations: 4 kB / 0.9634 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003371/1.369, allocations: 0.8785 MB / 0.9642 GB, free: 4.438 MB / 0.6856 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.002794/1.371, allocations: 1.041 MB / 0.9653 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006563/1.378, allocations: 2.683 MB / 0.9679 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/1.378, allocations: 0 / 0.9679 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/1.382, allocations: 1.907 MB / 0.9697 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/1.386, allocations: 0.5239 MB / 0.9703 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.396, allocations: 5.932 MB / 0.9761 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/1.398, allocations: 1.597 MB / 0.9776 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004078/1.402, allocations: 1.441 MB / 0.979 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.403, allocations: 315.2 kB / 0.9793 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of SimCode: time 7.72e-07/1.404, allocations: 0 / 0.9793 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of Templates: time 0.07237/1.476, allocations: 41.46 MB / 1.02 GB, free: 12 MB / 0.7481 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches