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.004922/0.004922, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001146/0.001146, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7805/0.7805, allocations: 91.19 MB / 381.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 79.88 kB / 0.5168 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3403, allocations: 67.68 MB / 0.5829 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5763/0.9166, allocations: 214.3 MB / 0.7922 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.9334, allocations: 17.39 MB / 0.8092 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.9349, allocations: 48.97 kB / 0.8092 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.9366, allocations: 0.6142 MB / 0.8098 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.9408, allocations: 1.741 MB / 0.8115 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.9449, allocations: 1.68 MB / 0.8132 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.9468, allocations: 1.658 MB / 0.8148 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.9472, allocations: 293.6 kB / 0.8151 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.9493, allocations: 1.189 MB / 0.8162 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.95, allocations: 0.6245 MB / 0.8169 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.9501, allocations: 97.94 kB / 0.817 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006388/0.9565, allocations: 3.433 MB / 0.8203 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.9568, allocations: 245.1 kB / 0.8205 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006826/0.9575, allocations: 0.6132 MB / 0.8211 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.9622, allocations: 2.338 MB / 0.8234 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.9622, allocations: 3.281 kB / 0.8234 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9622, allocations: 0 / 0.8234 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.9622, allocations: 0 / 0.8234 GB, free: 13.61 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.003525/0.9657, allocations: 1.819 MB / 0.8252 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9658, allocations: 10.09 kB / 0.8252 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.9677, allocations: 277.2 kB / 0.8255 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.9693, allocations: 0.8857 MB / 0.8263 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.9695, allocations: 201.1 kB / 0.8265 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.9696, allocations: 100.8 kB / 0.8266 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.9715, allocations: 1.003 MB / 0.8276 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.9715, allocations: 0 / 0.8276 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-05/0.9716, allocations: 37.25 kB / 0.8276 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.9716, allocations: 20.44 kB / 0.8277 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.9732, allocations: 0.7854 MB / 0.8284 GB, free: 10.3 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.005441/0.9787, allocations: 4.088 MB / 0.8324 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.9805, allocations: 0.8581 MB / 0.8333 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.9813, allocations: 431.3 kB / 0.8337 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009408/0.9823, allocations: 1.3 MB / 0.8349 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.9823, allocations: 44.09 kB / 0.835 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.355e-06/0.9823, allocations: 0 / 0.835 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005092/0.9874, allocations: 1.917 MB / 0.8369 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.9875, allocations: 60.06 kB / 0.8369 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.9884, allocations: 0.7654 MB / 0.8377 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.9885, allocations: 41.7 kB / 0.8377 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.9889, allocations: 496.1 kB / 0.8382 GB, free: 168 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.9891, allocations: 273.6 kB / 0.8384 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.9894, allocations: 154.5 kB / 0.8386 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9895, allocations: 345.9 kB / 0.8389 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/0.9902, allocations: 309.8 kB / 0.8392 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/0.991, allocations: 389.6 kB / 0.8396 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.9924, allocations: 0.6927 MB / 0.8403 GB, free: 14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.9924, allocations: 0 / 0.8403 GB, free: 14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00294/0.9953, allocations: 1.228 MB / 0.8415 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9954, allocations: 9.031 kB / 0.8415 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.9954, allocations: 4.062 kB / 0.8415 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/0.9962, allocations: 247.2 kB / 0.8417 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009096/0.9971, allocations: 202.1 kB / 0.8419 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/1.003, allocations: 5.227 MB / 0.847 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/1.004, allocations: 91.3 kB / 0.8471 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.004, allocations: 55.97 kB / 0.8471 GB, free: 6.539 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.0004912/1.004, allocations: 228 kB / 0.8474 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/1.005, allocations: 98.69 kB / 0.8474 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/1.009, allocations: 1.836 MB / 0.8492 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.009, allocations: 8 kB / 0.8492 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.009, allocations: 4 kB / 0.8493 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.009, allocations: 7.922 kB / 0.8493 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004819/1.014, allocations: 2.485 MB / 0.8517 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.014, allocations: 160 / 0.8517 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009304/1.015, allocations: 199.4 kB / 0.8519 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007267/1.015, allocations: 260.8 kB / 0.8521 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/1.015, allocations: 39.97 kB / 0.8522 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005785/1.021, allocations: 5.225 MB / 0.8573 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.021, allocations: 8.094 kB / 0.8573 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/1.025, allocations: 1.715 MB / 0.8589 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/1.025, allocations: 251.6 kB / 0.8592 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.026, allocations: 24 kB / 0.8592 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/1.026, allocations: 39.95 kB / 0.8593 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.026, allocations: 75.44 kB / 0.8593 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.026, allocations: 51.92 kB / 0.8594 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000747/1.027, allocations: 0.5356 MB / 0.8599 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.6e-07/1.027, allocations: 4 kB / 0.8599 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001609/1.029, allocations: 471.1 kB / 0.8603 GB, free: 8.48 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.001149/1.03, allocations: 0.5782 MB / 0.8609 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002502/1.032, allocations: 1.244 MB / 0.8621 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.032, allocations: 0 / 0.8621 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.034, allocations: 0.9088 MB / 0.863 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.035, allocations: 270.8 kB / 0.8633 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/1.039, allocations: 2.29 MB / 0.8655 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/1.04, allocations: 1.08 MB / 0.8666 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001207/1.041, allocations: 0.6306 MB / 0.8672 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/1.041, allocations: 147.3 kB / 0.8673 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/1.041, allocations: 0 / 0.8673 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of Templates: time 0.03285/1.074, allocations: 19.7 MB / 0.8866 GB, free: 13.79 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