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.0009747/0.0009747, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001214/0.001214, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7699/0.7699, allocations: 89.64 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004144, allocations: 17.19 kB / 460 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1691, allocations: 68.83 MB / 0.5165 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5898/0.759, allocations: 195.8 MB / 0.7076 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.7813, allocations: 16.11 MB / 0.7234 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.783, allocations: 23.81 kB / 0.7234 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.7848, allocations: 0.4933 MB / 0.7239 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.7899, allocations: 1.454 MB / 0.7253 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.7948, allocations: 1.27 MB / 0.7265 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.7973, allocations: 1.58 MB / 0.7281 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.7979, allocations: 230.3 kB / 0.7283 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.8007, allocations: 0.9891 MB / 0.7293 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.8014, allocations: 0.5249 MB / 0.7298 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.8015, allocations: 44 kB / 0.7298 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007725/0.8092, allocations: 3.25 MB / 0.733 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.8095, allocations: 183.1 kB / 0.7332 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.81, allocations: 221.1 kB / 0.7334 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.8132, allocations: 1.493 MB / 0.7348 GB, free: 12.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8132, allocations: 0 / 0.7348 GB, free: 12.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8132, allocations: 0 / 0.7348 GB, free: 12.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.8133, allocations: 0 / 0.7348 GB, free: 12.21 MB / 0.545 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.003206/0.8165, allocations: 1.489 MB / 0.7363 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8165, allocations: 12.03 kB / 0.7363 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.8185, allocations: 274.2 kB / 0.7366 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.8195, allocations: 0.5986 MB / 0.7371 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.8198, allocations: 204.7 kB / 0.7373 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.82, allocations: 95.91 kB / 0.7374 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.8221, allocations: 1.02 MB / 0.7384 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.8221, allocations: 7.922 kB / 0.7384 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-05/0.8222, allocations: 39.98 kB / 0.7385 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.8222, allocations: 20 kB / 0.7385 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.8238, allocations: 0.8081 MB / 0.7393 GB, free: 7.512 MB / 0.545 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.005254/0.8291, allocations: 4.075 MB / 0.7433 GB, free: 3.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.8311, allocations: 0.8977 MB / 0.7441 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009365/0.832, allocations: 459.2 kB / 0.7446 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009411/0.833, allocations: 1.299 MB / 0.7458 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.833, allocations: 47.16 kB / 0.7459 GB, free: 76 kB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 2.394e-06/0.833, allocations: 0 / 0.7459 GB, free: 76 kB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.005153/0.8382, allocations: 2.107 MB / 0.748 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.8383, allocations: 60.06 kB / 0.748 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/0.8391, allocations: 0.6061 MB / 0.7486 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.8392, allocations: 41.7 kB / 0.7486 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.8395, allocations: 424.1 kB / 0.749 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.8398, allocations: 279.8 kB / 0.7493 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.8398, allocations: 16 kB / 0.7493 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.84, allocations: 337.9 kB / 0.7496 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.8406, allocations: 325.8 kB / 0.75 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.8414, allocations: 415 kB / 0.7504 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.8422, allocations: 354.9 kB / 0.7507 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.8422, allocations: 4 kB / 0.7507 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003095/0.8453, allocations: 1.32 MB / 0.752 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.8453, allocations: 4 kB / 0.752 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.8453, allocations: 4 kB / 0.752 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009327/0.8463, allocations: 290.3 kB / 0.7523 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/0.8472, allocations: 203.8 kB / 0.7525 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.8532, allocations: 5.04 MB / 0.7574 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/0.8541, allocations: 111.2 kB / 0.7575 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.8543, allocations: 55.98 kB / 0.7575 GB, free: 3.594 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005142/0.8548, allocations: 217.6 kB / 0.7578 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.855, allocations: 82.97 kB / 0.7578 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.8594, allocations: 1.935 MB / 0.7597 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.8595, allocations: 12 kB / 0.7597 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.8595, allocations: 4 kB / 0.7597 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.8595, allocations: 3.984 kB / 0.7597 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.8651, allocations: 2.554 MB / 0.7622 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8651, allocations: 3.938 kB / 0.7622 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.866, allocations: 203.9 kB / 0.7624 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008384/0.8669, allocations: 290.3 kB / 0.7627 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.27e-05/0.867, allocations: 35.97 kB / 0.7627 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005914/0.8729, allocations: 5.048 MB / 0.7677 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.873, allocations: 0 / 0.7677 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/0.8771, allocations: 1.828 MB / 0.7695 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.8776, allocations: 239.8 kB / 0.7697 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.8778, allocations: 16 kB / 0.7697 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.8783, allocations: 71.8 kB / 0.7698 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.8785, allocations: 76.8 kB / 0.7698 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/0.8786, allocations: 47.98 kB / 0.7699 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005713/0.8792, allocations: 447 kB / 0.7703 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8792, allocations: 0 / 0.7703 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001465/0.8806, allocations: 463.2 kB / 0.7708 GB, free: 5.461 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.8819, allocations: 0.5985 MB / 0.7713 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002714/0.8847, allocations: 1.321 MB / 0.7726 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8847, allocations: 0 / 0.7726 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.8864, allocations: 0.9704 MB / 0.7736 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.8877, allocations: 230.4 kB / 0.7738 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.8922, allocations: 2.614 MB / 0.7764 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.8929, allocations: 1.017 MB / 0.7773 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001547/0.8944, allocations: 0.6178 MB / 0.778 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.8949, allocations: 139.3 kB / 0.7781 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/0.8949, allocations: 0 / 0.7781 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.0345/0.9294, allocations: 17.99 MB / 0.7957 GB, free: 11.92 MB / 0.6075 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