Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 92.23 kB / 16.02 MB, free: 80 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.001222/0.001222, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6198/0.6198, allocations: 89.64 MB / 381.7 MB, free: 11.26 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004101, allocations: 9.719 kB / 461.3 MB, free: 24.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 68.82 MB / 0.5177 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4776/0.5914, allocations: 230.2 MB / 0.7425 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02546/0.6169, allocations: 22.07 MB / 0.764 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.6186, allocations: 23.88 kB / 0.7641 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.6207, allocations: 0.6878 MB / 0.7647 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.6257, allocations: 1.762 MB / 0.7665 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005096/0.6308, allocations: 1.887 MB / 0.7683 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.6335, allocations: 2.275 MB / 0.7705 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005978/0.6342, allocations: 361.4 kB / 0.7709 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.6364, allocations: 1.218 MB / 0.7721 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6374, allocations: 0.7348 MB / 0.7728 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.6377, allocations: 68 kB / 0.7728 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007728/0.6454, allocations: 4.223 MB / 0.777 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.6458, allocations: 270.7 kB / 0.7772 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009402/0.6468, allocations: 0.7049 MB / 0.7779 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.6501, allocations: 1.995 MB / 0.7799 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6501, allocations: 0 / 0.7799 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6501, allocations: 0 / 0.7799 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.293e-05/0.6502, allocations: 0 / 0.7799 GB, free: 14.88 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004243/0.6544, allocations: 1.871 MB / 0.7817 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.6545, allocations: 16.03 kB / 0.7817 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.6577, allocations: 377.8 kB / 0.7821 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.659, allocations: 0.7616 MB / 0.7828 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.6594, allocations: 364 kB / 0.7832 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.6597, allocations: 131.9 kB / 0.7833 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.663, allocations: 1.501 MB / 0.7847 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.663, allocations: 3.938 kB / 0.7848 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.6631, allocations: 48 kB / 0.7848 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.6632, allocations: 28 kB / 0.7848 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.6661, allocations: 1.251 MB / 0.786 GB, free: 8.332 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.007795/0.6739, allocations: 5.445 MB / 0.7914 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.6773, allocations: 1.389 MB / 0.7927 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.679, allocations: 0.7573 MB / 0.7935 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.6803, allocations: 1.794 MB / 0.7952 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.6804, allocations: 51.44 kB / 0.7953 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 3.026e-06/0.6804, allocations: 0 / 0.7953 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.009969/0.6904, allocations: 3.454 MB / 0.7986 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.6905, allocations: 64.41 kB / 0.7987 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6915, allocations: 0.6886 MB / 0.7994 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.6917, allocations: 45.7 kB / 0.7994 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.6921, allocations: 0.5275 MB / 0.7999 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/0.6925, allocations: 390.2 kB / 0.8003 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.6927, allocations: 81.67 kB / 0.8004 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6928, allocations: 345.9 kB / 0.8007 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.6942, allocations: 0.5335 MB / 0.8012 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.6956, allocations: 0.6387 MB / 0.8019 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.6982, allocations: 1.148 MB / 0.803 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6983, allocations: 4 kB / 0.803 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005819/0.7041, allocations: 2.131 MB / 0.8051 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.7041, allocations: 8 kB / 0.8051 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7042, allocations: 0.625 kB / 0.8051 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.7056, allocations: 487.1 kB / 0.8055 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.7071, allocations: 307.6 kB / 0.8058 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.24/0.9472, allocations: 7.254 MB / 0.8129 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9486, allocations: 168.4 kB / 0.8131 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.9489, allocations: 77.47 kB / 0.8131 GB, free: 226 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008306/0.9498, allocations: 255.2 kB / 0.8134 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.9501, allocations: 102 kB / 0.8135 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008169/0.9583, allocations: 2.942 MB / 0.8164 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.9584, allocations: 12.44 kB / 0.8164 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.9584, allocations: 7.453 kB / 0.8164 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.9584, allocations: 11.06 kB / 0.8164 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008054/0.9665, allocations: 3.755 MB / 0.8201 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.9665, allocations: 3.5 kB / 0.8201 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.9681, allocations: 298.9 kB / 0.8203 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.9694, allocations: 499.2 kB / 0.8208 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.9696, allocations: 54.02 kB / 0.8209 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008283/0.9779, allocations: 7.261 MB / 0.828 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.9779, allocations: 2.906 kB / 0.828 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/0.985, allocations: 2.86 MB / 0.8308 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.9855, allocations: 302.4 kB / 0.831 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.9858, allocations: 23.84 kB / 0.8311 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.9868, allocations: 108.6 kB / 0.8312 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.9871, allocations: 100.5 kB / 0.8313 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.9872, allocations: 71.23 kB / 0.8313 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007316/0.988, allocations: 0.4885 MB / 0.8318 GB, free: 217 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.988, allocations: 0 / 0.8318 GB, free: 217 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002116/0.9901, allocations: 0.5918 MB / 0.8324 GB, free: 216.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.001668/0.9918, allocations: 0.7155 MB / 0.8331 GB, free: 216.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004584/0.9964, allocations: 2.065 MB / 0.8351 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9964, allocations: 0 / 0.8351 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/0.9993, allocations: 1.498 MB / 0.8366 GB, free: 215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.001, allocations: 274.9 kB / 0.8368 GB, free: 214.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/1.007, allocations: 3.601 MB / 0.8403 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009087/1.008, allocations: 1.127 MB / 0.8414 GB, free: 212 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/1.009, allocations: 215.1 kB / 0.8416 GB, free: 212 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/1.009, allocations: 4 kB / 0.8417 GB, free: 212 MB / 0.6075 GB Notification: Performance of Templates: time 0.03703/1.046, allocations: 41.57 MB / 0.8823 GB, free: 176 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches