Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001173/0.001173, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.298/1.298, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6693/0.6693, allocations: 91.18 MB / 381.9 MB, free: 7.668 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 79.88 kB / 460.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1174, allocations: 67.67 MB / 0.5158 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.3788/0.4962, allocations: 212.5 MB / 0.7233 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2683/0.7646, allocations: 17.38 MB / 0.7403 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.7657, allocations: 56.78 kB / 0.7404 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.7671, allocations: 0.5401 MB / 0.7409 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.7709, allocations: 1.572 MB / 0.7424 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.7745, allocations: 1.536 MB / 0.7439 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.7764, allocations: 1.655 MB / 0.7455 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.7768, allocations: 290.4 kB / 0.7458 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.7788, allocations: 1.212 MB / 0.747 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.7794, allocations: 0.6368 MB / 0.7476 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.7796, allocations: 95.34 kB / 0.7477 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006037/0.7856, allocations: 3.714 MB / 0.7513 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.7859, allocations: 253.4 kB / 0.7516 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007462/0.7867, allocations: 0.6116 MB / 0.7522 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.7893, allocations: 1.698 MB / 0.7538 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7893, allocations: 4.797 kB / 0.7538 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7893, allocations: 0 / 0.7538 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.7894, allocations: 1.094 kB / 0.7538 GB, free: 1.27 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.003745/0.7931, allocations: 1.813 MB / 0.7556 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7932, allocations: 9.5 kB / 0.7556 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.7953, allocations: 293.2 kB / 0.7559 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7967, allocations: 0.8069 MB / 0.7567 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.7969, allocations: 195.8 kB / 0.7569 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.7971, allocations: 92.73 kB / 0.757 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.7992, allocations: 1.013 MB / 0.7579 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7992, allocations: 4.875 kB / 0.758 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/0.7993, allocations: 35.09 kB / 0.758 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.7994, allocations: 24 kB / 0.758 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.8011, allocations: 0.7885 MB / 0.7588 GB, free: 15.68 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.005323/0.8065, allocations: 4.115 MB / 0.7628 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.8084, allocations: 0.8604 MB / 0.7636 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008076/0.8093, allocations: 435.5 kB / 0.7641 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008717/0.8101, allocations: 1.308 MB / 0.7653 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.8102, allocations: 41.56 kB / 0.7654 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.374e-06/0.8102, allocations: 2.062 kB / 0.7654 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005523/0.8157, allocations: 1.925 MB / 0.7672 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.8158, allocations: 63.8 kB / 0.7673 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.8168, allocations: 0.7674 MB / 0.7681 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/0.8168, allocations: 41.7 kB / 0.7681 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.8171, allocations: 499.8 kB / 0.7686 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.8174, allocations: 277 kB / 0.7688 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.8177, allocations: 153.9 kB / 0.769 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8178, allocations: 339.7 kB / 0.7693 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007316/0.8185, allocations: 315.3 kB / 0.7696 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000898/0.8194, allocations: 397.7 kB / 0.77 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.8209, allocations: 0.6929 MB / 0.7707 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8209, allocations: 0.8125 kB / 0.7707 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003182/0.8241, allocations: 1.234 MB / 0.7719 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.8242, allocations: 5.5 kB / 0.7719 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8242, allocations: 2.406 kB / 0.7719 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008192/0.825, allocations: 249.6 kB / 0.7721 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.826, allocations: 203.5 kB / 0.7723 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/0.8316, allocations: 5.231 MB / 0.7774 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.8325, allocations: 95.67 kB / 0.7775 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.8326, allocations: 52.81 kB / 0.7776 GB, free: 6.133 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.0004401/0.833, allocations: 226.5 kB / 0.7778 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.8333, allocations: 103.9 kB / 0.7779 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.8375, allocations: 1.818 MB / 0.7797 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8375, allocations: 8.797 kB / 0.7797 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.8375, allocations: 7.812 kB / 0.7797 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.8375, allocations: 4.406 kB / 0.7797 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/0.8424, allocations: 2.475 MB / 0.7821 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.8424, allocations: 3.5 kB / 0.7821 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009694/0.8434, allocations: 196.3 kB / 0.7823 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007174/0.8441, allocations: 255.2 kB / 0.7825 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.571e-05/0.8442, allocations: 35.61 kB / 0.7826 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005343/0.8495, allocations: 5.235 MB / 0.7877 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8496, allocations: 5.688 kB / 0.7877 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/0.8533, allocations: 1.721 MB / 0.7894 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.8538, allocations: 256.6 kB / 0.7896 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.8541, allocations: 18.22 kB / 0.7896 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/0.8548, allocations: 51.41 kB / 0.7897 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.855, allocations: 78.16 kB / 0.7897 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/0.8551, allocations: 50.97 kB / 0.7898 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000664/0.8557, allocations: 0.5325 MB / 0.7903 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8557, allocations: 0.9062 kB / 0.7903 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001498/0.8573, allocations: 474.3 kB / 0.7908 GB, free: 0.5508 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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.001329/0.8586, allocations: 0.5815 MB / 0.7913 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00292/0.8615, allocations: 1.279 MB / 0.7926 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8615, allocations: 0 / 0.7926 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.8632, allocations: 0.901 MB / 0.7935 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.8646, allocations: 265.9 kB / 0.7937 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.8689, allocations: 2.795 MB / 0.7964 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.8695, allocations: 1.065 MB / 0.7975 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/0.8702, allocations: 179.4 kB / 0.7977 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.8702, allocations: 0 / 0.7977 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of Templates: time 0.03459/0.9048, allocations: 31.62 MB / 0.8285 GB, free: 7.145 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches