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.001455/0.001455, allocations: 103.2 kB / 16.35 MB, free: 5.875 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.001626/0.001626, allocations: 196 kB / 17.3 MB, free: 5.516 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6409/0.6409, allocations: 89.5 MB / 380.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.88 kB / 459.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1303, allocations: 67.31 MB / 0.5146 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4291/0.5594, allocations: 214.1 MB / 0.7237 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2945/0.8539, allocations: 17.31 MB / 0.7406 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009107/0.8549, allocations: 22.09 kB / 0.7406 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.8564, allocations: 0.6001 MB / 0.7412 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.8602, allocations: 1.672 MB / 0.7428 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.8641, allocations: 1.664 MB / 0.7445 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.866, allocations: 1.521 MB / 0.7459 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.8665, allocations: 284.5 kB / 0.7462 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.8685, allocations: 1.095 MB / 0.7473 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.8692, allocations: 0.6004 MB / 0.7479 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.8693, allocations: 97.75 kB / 0.748 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006204/0.8755, allocations: 3.432 MB / 0.7513 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.8758, allocations: 234.5 kB / 0.7515 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007879/0.8766, allocations: 0.5667 MB / 0.7521 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005023/0.8817, allocations: 2.189 MB / 0.7542 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8817, allocations: 0 / 0.7542 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8817, allocations: 2.625 kB / 0.7542 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.8817, allocations: 0 / 0.7542 GB, free: 1.34 MB / 0.5762 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.003806/0.8855, allocations: 1.664 MB / 0.7559 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8856, allocations: 9.781 kB / 0.7559 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.8877, allocations: 269.8 kB / 0.7561 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.8889, allocations: 0.6335 MB / 0.7567 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.8892, allocations: 201 kB / 0.7569 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.8894, allocations: 93.27 kB / 0.757 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.8915, allocations: 1.005 MB / 0.758 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.8915, allocations: 1.25 kB / 0.758 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.8916, allocations: 40.22 kB / 0.758 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.8917, allocations: 22.88 kB / 0.7581 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.8934, allocations: 0.7823 MB / 0.7588 GB, free: 15.87 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.005569/0.899, allocations: 4.045 MB / 0.7628 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.901, allocations: 0.8567 MB / 0.7636 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/0.9018, allocations: 436.9 kB / 0.764 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008429/0.9026, allocations: 1.302 MB / 0.7653 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.9027, allocations: 43.97 kB / 0.7654 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.795e-06/0.9027, allocations: 0.9375 kB / 0.7654 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005606/0.9083, allocations: 1.893 MB / 0.7672 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.9084, allocations: 61.98 kB / 0.7673 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.9092, allocations: 0.6209 MB / 0.7679 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.9093, allocations: 39.55 kB / 0.7679 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.9096, allocations: 423.8 kB / 0.7683 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.9098, allocations: 275.6 kB / 0.7686 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.9101, allocations: 150.9 kB / 0.7687 GB, free: 11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9102, allocations: 336.5 kB / 0.769 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/0.9109, allocations: 311.1 kB / 0.7693 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.9116, allocations: 389.9 kB / 0.7697 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.9131, allocations: 0.6891 MB / 0.7704 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9131, allocations: 1.688 kB / 0.7704 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003203/0.9163, allocations: 1.21 MB / 0.7716 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.9164, allocations: 8.75 kB / 0.7716 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.9164, allocations: 2.562 kB / 0.7716 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008734/0.9173, allocations: 251.3 kB / 0.7718 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9185, allocations: 203.2 kB / 0.772 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/0.9247, allocations: 5.222 MB / 0.7771 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.9256, allocations: 89.75 kB / 0.7772 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.9258, allocations: 54.56 kB / 0.7772 GB, free: 6.371 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.0005362/0.9264, allocations: 219.2 kB / 0.7775 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.9267, allocations: 82.77 kB / 0.7775 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.9312, allocations: 1.811 MB / 0.7793 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.9312, allocations: 8.594 kB / 0.7793 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.9312, allocations: 4.156 kB / 0.7793 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.9313, allocations: 4.781 kB / 0.7793 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.9363, allocations: 2.431 MB / 0.7817 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.9364, allocations: 4.5 kB / 0.7817 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000959/0.9373, allocations: 194.9 kB / 0.7819 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007533/0.9381, allocations: 253.2 kB / 0.7821 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/0.9382, allocations: 32.05 kB / 0.7822 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.9437, allocations: 5.241 MB / 0.7873 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9437, allocations: 0.9688 kB / 0.7873 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/0.9475, allocations: 1.701 MB / 0.7889 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.9481, allocations: 241.3 kB / 0.7892 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.9483, allocations: 22.8 kB / 0.7892 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/0.949, allocations: 41.64 kB / 0.7892 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.9491, allocations: 75.95 kB / 0.7893 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/0.9492, allocations: 46.97 kB / 0.7893 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006078/0.9498, allocations: 448.2 kB / 0.7898 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.12e-07/0.9498, allocations: 0 / 0.7898 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001664/0.9515, allocations: 471.7 kB / 0.7902 GB, free: 0.8398 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.001359/0.9529, allocations: 0.5778 MB / 0.7908 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.9555, allocations: 1.245 MB / 0.792 GB, free: 332 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9556, allocations: 0 / 0.792 GB, free: 332 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.9572, allocations: 0.9135 MB / 0.7929 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.9585, allocations: 251.1 kB / 0.7931 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.9623, allocations: 2.104 MB / 0.7952 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.9629, allocations: 1.017 MB / 0.7962 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001207/0.9641, allocations: 0.6197 MB / 0.7968 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.9645, allocations: 136.7 kB / 0.7969 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.9645, allocations: 0 / 0.7969 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.02964/0.9942, allocations: 19.15 MB / 0.8156 GB, free: 4.512 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches