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.008032/0.008033, allocations: 105 kB / 15.74 MB, free: 6.02 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.001759/0.001759, allocations: 189.4 kB / 16.67 MB, free: 5.941 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7135/0.7135, allocations: 91.18 MB / 381.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 76.17 kB / 0.5168 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.357, allocations: 67.69 MB / 0.5829 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.6405/0.9976, allocations: 214.3 MB / 0.7922 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01612/1.014, allocations: 17.4 MB / 0.8092 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/1.015, allocations: 44.66 kB / 0.8093 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.017, allocations: 0.619 MB / 0.8099 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004264/1.021, allocations: 1.717 MB / 0.8115 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004025/1.025, allocations: 1.661 MB / 0.8132 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001957/1.027, allocations: 1.656 MB / 0.8148 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/1.027, allocations: 291.9 kB / 0.815 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/1.03, allocations: 1.16 MB / 0.8162 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/1.031, allocations: 0.6252 MB / 0.8168 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/1.031, allocations: 93.03 kB / 0.8169 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006502/1.037, allocations: 3.432 MB / 0.8202 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/1.037, allocations: 247.6 kB / 0.8205 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007333/1.038, allocations: 0.6118 MB / 0.8211 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005426/1.044, allocations: 2.351 MB / 0.8234 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.044, allocations: 1.344 kB / 0.8234 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.324e-06/1.044, allocations: 0 / 0.8234 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.366e-05/1.044, allocations: 0 / 0.8234 GB, free: 13.62 MB / 0.5919 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.004687/1.048, allocations: 1.868 MB / 0.8252 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.049, allocations: 16.44 kB / 0.8252 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/1.051, allocations: 287.1 kB / 0.8255 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/1.052, allocations: 0.8965 MB / 0.8264 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/1.053, allocations: 196.6 kB / 0.8265 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.053, allocations: 92.31 kB / 0.8266 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/1.055, allocations: 1.002 MB / 0.8276 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/1.055, allocations: 3.5 kB / 0.8276 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-05/1.055, allocations: 36.06 kB / 0.8276 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.055, allocations: 27.41 kB / 0.8277 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.057, allocations: 0.7805 MB / 0.8284 GB, free: 10.25 MB / 0.5919 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.006345/1.063, allocations: 4.108 MB / 0.8324 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/1.065, allocations: 0.8561 MB / 0.8333 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/1.066, allocations: 428.3 kB / 0.8337 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009509/1.067, allocations: 1.309 MB / 0.835 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/1.067, allocations: 40.16 kB / 0.835 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.116e-06/1.067, allocations: 0 / 0.835 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005339/1.072, allocations: 1.918 MB / 0.8369 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.072, allocations: 60.06 kB / 0.8369 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.073, allocations: 0.7693 MB / 0.8377 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/1.073, allocations: 37.7 kB / 0.8377 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/1.074, allocations: 0.493 MB / 0.8382 GB, free: 96 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/1.074, allocations: 291.2 kB / 0.8385 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/1.074, allocations: 154.5 kB / 0.8386 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.074, allocations: 341.7 kB / 0.839 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/1.075, allocations: 312.4 kB / 0.8393 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007755/1.076, allocations: 387.1 kB / 0.8396 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/1.077, allocations: 0.6912 MB / 0.8403 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.077, allocations: 4 kB / 0.8403 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003271/1.081, allocations: 1.23 MB / 0.8415 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.081, allocations: 4 kB / 0.8415 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.081, allocations: 0 / 0.8415 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/1.082, allocations: 257.9 kB / 0.8418 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.083, allocations: 199.5 kB / 0.8419 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006085/1.089, allocations: 5.229 MB / 0.8471 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/1.09, allocations: 87.47 kB / 0.8471 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/1.09, allocations: 59.97 kB / 0.8472 GB, free: 6.453 MB / 0.6075 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.000507/1.091, allocations: 225.4 kB / 0.8474 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/1.091, allocations: 107.3 kB / 0.8475 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/1.095, allocations: 1.839 MB / 0.8493 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.095, allocations: 8 kB / 0.8493 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.095, allocations: 4 kB / 0.8493 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.095, allocations: 11.92 kB / 0.8493 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/1.101, allocations: 2.485 MB / 0.8518 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.101, allocations: 0 / 0.8518 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.102, allocations: 202.8 kB / 0.8519 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008043/1.103, allocations: 262.2 kB / 0.8522 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/1.103, allocations: 35.91 kB / 0.8522 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006011/1.109, allocations: 5.226 MB / 0.8573 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.109, allocations: 0 / 0.8573 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/1.113, allocations: 1.731 MB / 0.859 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/1.113, allocations: 252.1 kB / 0.8593 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/1.113, allocations: 24 kB / 0.8593 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/1.114, allocations: 46.58 kB / 0.8593 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.114, allocations: 76.84 kB / 0.8594 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/1.114, allocations: 43.98 kB / 0.8594 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007167/1.115, allocations: 0.5395 MB / 0.86 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.115, allocations: 0 / 0.86 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001552/1.116, allocations: 478.8 kB / 0.8604 GB, free: 8.363 MB / 0.6231 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.001188/1.118, allocations: 0.588 MB / 0.861 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002738/1.12, allocations: 1.237 MB / 0.8622 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.12, allocations: 0 / 0.8622 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.122, allocations: 0.91 MB / 0.8631 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/1.123, allocations: 270.3 kB / 0.8634 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/1.128, allocations: 2.334 MB / 0.8656 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.129, allocations: 1.076 MB / 0.8667 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001955/1.131, allocations: 0.6266 MB / 0.8673 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/1.132, allocations: 151.3 kB / 0.8674 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of SimCode: time 1.343e-06/1.132, allocations: 4 kB / 0.8675 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of Templates: time 0.06203/1.194, allocations: 19.7 MB / 0.8867 GB, free: 13.62 MB / 0.6544 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