Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6627/0.6627, allocations: 91.2 MB / 381.6 MB, free: 9.406 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 80.41 kB / 460.3 MB, free: 23.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 67.69 MB / 0.5156 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4583/0.5945, allocations: 214.3 MB / 0.7249 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.614, allocations: 17.39 MB / 0.7419 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.6152, allocations: 43.69 kB / 0.7419 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.6171, allocations: 0.617 MB / 0.7425 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.6217, allocations: 1.714 MB / 0.7442 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.6262, allocations: 1.67 MB / 0.7458 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002251/0.6285, allocations: 1.65 MB / 0.7474 GB, free: 1.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.629, allocations: 298.9 kB / 0.7477 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.6311, allocations: 1.16 MB / 0.7489 GB, free: 372 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.6318, allocations: 0.6298 MB / 0.7495 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.632, allocations: 96 kB / 0.7496 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/0.6384, allocations: 3.381 MB / 0.7529 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.6387, allocations: 242.9 kB / 0.7531 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.6394, allocations: 0.6138 MB / 0.7537 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.6438, allocations: 2.302 MB / 0.7559 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.6439, allocations: 0 / 0.7559 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6439, allocations: 0 / 0.7559 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.949e-05/0.6439, allocations: 0 / 0.7559 GB, free: 9.086 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003279/0.6472, allocations: 1.818 MB / 0.7577 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6472, allocations: 11.97 kB / 0.7577 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.6492, allocations: 294 kB / 0.758 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6505, allocations: 0.8039 MB / 0.7588 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.6508, allocations: 200.7 kB / 0.759 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.6509, allocations: 92 kB / 0.7591 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.6529, allocations: 1.009 MB / 0.7601 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.6529, allocations: 0 / 0.7601 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.653, allocations: 36 kB / 0.7601 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.653, allocations: 20 kB / 0.7601 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.6547, allocations: 0.7885 MB / 0.7609 GB, free: 3.875 MB / 0.5606 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.005251/0.66, allocations: 4.112 MB / 0.7649 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.662, allocations: 0.8601 MB / 0.7657 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.6629, allocations: 431.3 kB / 0.7662 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.664, allocations: 1.303 MB / 0.7674 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.664, allocations: 39.22 kB / 0.7675 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.705e-06/0.6641, allocations: 0 / 0.7675 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005631/0.6697, allocations: 1.923 MB / 0.7693 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6698, allocations: 60.06 kB / 0.7694 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6708, allocations: 0.7653 MB / 0.7701 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/0.6709, allocations: 45.7 kB / 0.7702 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.6713, allocations: 496.1 kB / 0.7707 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.6716, allocations: 279.9 kB / 0.7709 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.6718, allocations: 150.6 kB / 0.7711 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.672, allocations: 337.9 kB / 0.7714 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/0.6727, allocations: 313.8 kB / 0.7717 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/0.6736, allocations: 387 kB / 0.7721 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.6751, allocations: 0.6909 MB / 0.7727 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6751, allocations: 0 / 0.7727 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003288/0.6784, allocations: 1.232 MB / 0.7739 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6785, allocations: 4 kB / 0.7739 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6785, allocations: 4 kB / 0.7739 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008667/0.6793, allocations: 247.8 kB / 0.7742 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/0.6804, allocations: 199.8 kB / 0.7744 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.6867, allocations: 5.23 MB / 0.7795 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.6875, allocations: 87.3 kB / 0.7796 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.6877, allocations: 47.98 kB / 0.7796 GB, free: 15.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0005155/0.6882, allocations: 237.6 kB / 0.7798 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.6885, allocations: 98.78 kB / 0.7799 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.6929, allocations: 1.831 MB / 0.7817 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6929, allocations: 8 kB / 0.7817 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6929, allocations: 4 kB / 0.7817 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.6929, allocations: 8.297 kB / 0.7817 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.6979, allocations: 2.484 MB / 0.7842 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.6979, allocations: 4 kB / 0.7842 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/0.6989, allocations: 195.8 kB / 0.7844 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007797/0.6997, allocations: 258.4 kB / 0.7846 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.6998, allocations: 31.98 kB / 0.7846 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005846/0.7057, allocations: 5.238 MB / 0.7897 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7057, allocations: 4.031 kB / 0.7898 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.7098, allocations: 1.72 MB / 0.7914 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.7102, allocations: 259.5 kB / 0.7917 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.7104, allocations: 16 kB / 0.7917 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.711, allocations: 40.28 kB / 0.7917 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.7112, allocations: 72.91 kB / 0.7918 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.7113, allocations: 55.91 kB / 0.7919 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007236/0.712, allocations: 0.5356 MB / 0.7924 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.712, allocations: 0 / 0.7924 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001332/0.7133, allocations: 471.1 kB / 0.7928 GB, free: 1.254 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.7145, allocations: 0.5875 MB / 0.7934 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003043/0.7175, allocations: 1.282 MB / 0.7947 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7176, allocations: 0 / 0.7947 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.7193, allocations: 0.908 MB / 0.7955 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.7206, allocations: 262.2 kB / 0.7958 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.7249, allocations: 2.326 MB / 0.7981 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.7256, allocations: 1.06 MB / 0.7991 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001517/0.7271, allocations: 0.6429 MB / 0.7997 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.7276, allocations: 147.3 kB / 0.7999 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.7276, allocations: 0 / 0.7999 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.03376/0.7614, allocations: 19.6 MB / 0.819 GB, free: 6.406 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches