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.001169/0.001169, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001259/0.001259, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6331/0.6331, allocations: 89.5 MB / 380.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.88 kB / 459.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.128, allocations: 67.31 MB / 0.5146 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4144/0.5425, allocations: 214.1 MB / 0.7237 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3281/0.8706, allocations: 17.32 MB / 0.7406 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.8717, allocations: 20.34 kB / 0.7406 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.8731, allocations: 0.6053 MB / 0.7412 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.8775, allocations: 1.669 MB / 0.7428 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.8821, allocations: 1.664 MB / 0.7445 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.8845, allocations: 1.522 MB / 0.746 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.885, allocations: 284.7 kB / 0.7462 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.8871, allocations: 1.095 MB / 0.7473 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006771/0.8878, allocations: 0.6029 MB / 0.7479 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.8879, allocations: 94.94 kB / 0.748 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006023/0.8939, allocations: 3.429 MB / 0.7513 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.8942, allocations: 234 kB / 0.7516 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007293/0.8949, allocations: 0.5657 MB / 0.7521 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.8995, allocations: 2.19 MB / 0.7542 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8995, allocations: 1.438 kB / 0.7542 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.617e-06/0.8995, allocations: 0.7188 kB / 0.7542 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.8996, allocations: 4.188 kB / 0.7542 GB, free: 1.301 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.003781/0.9034, allocations: 1.662 MB / 0.7559 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.9034, allocations: 11.47 kB / 0.7559 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.9054, allocations: 268.6 kB / 0.7561 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.9066, allocations: 0.6323 MB / 0.7568 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.9068, allocations: 200.1 kB / 0.7569 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.907, allocations: 93.08 kB / 0.757 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.909, allocations: 1.007 MB / 0.758 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.909, allocations: 3.188 kB / 0.758 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.9091, allocations: 41.86 kB / 0.7581 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.9091, allocations: 23.23 kB / 0.7581 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.9109, allocations: 0.7831 MB / 0.7588 GB, free: 15.82 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.005618/0.9165, allocations: 4.044 MB / 0.7628 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.9185, allocations: 0.8591 MB / 0.7636 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/0.9193, allocations: 427.9 kB / 0.764 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009307/0.9203, allocations: 1.3 MB / 0.7653 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.9203, allocations: 39.41 kB / 0.7654 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.435e-06/0.9203, allocations: 0 / 0.7654 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005429/0.9257, allocations: 1.898 MB / 0.7672 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.9258, allocations: 66.5 kB / 0.7673 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009316/0.9268, allocations: 0.6193 MB / 0.7679 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.9268, allocations: 39.64 kB / 0.7679 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.9272, allocations: 422.4 kB / 0.7683 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.9274, allocations: 278 kB / 0.7686 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.9277, allocations: 154.3 kB / 0.7687 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9278, allocations: 332.7 kB / 0.769 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.9285, allocations: 311.1 kB / 0.7693 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.9293, allocations: 389 kB / 0.7697 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.9308, allocations: 0.6869 MB / 0.7704 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.9308, allocations: 1.719 kB / 0.7704 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003104/0.9339, allocations: 1.212 MB / 0.7716 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.9339, allocations: 5.812 kB / 0.7716 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.934, allocations: 3.453 kB / 0.7716 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00082/0.9348, allocations: 254.4 kB / 0.7718 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/0.9358, allocations: 198.8 kB / 0.772 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.9417, allocations: 5.23 MB / 0.7771 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/0.9426, allocations: 84.42 kB / 0.7772 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.9427, allocations: 53.05 kB / 0.7772 GB, free: 6.328 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.0005413/0.9433, allocations: 227.3 kB / 0.7775 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.9435, allocations: 81.28 kB / 0.7775 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.9482, allocations: 1.812 MB / 0.7793 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.9482, allocations: 9.375 kB / 0.7793 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9482, allocations: 2.75 kB / 0.7793 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.9483, allocations: 6.859 kB / 0.7793 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.9531, allocations: 2.433 MB / 0.7817 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.9531, allocations: 1.781 kB / 0.7817 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/0.9541, allocations: 199.1 kB / 0.7819 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007047/0.9548, allocations: 247.9 kB / 0.7821 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.9549, allocations: 39.78 kB / 0.7822 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.9604, allocations: 5.238 MB / 0.7873 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9604, allocations: 1.844 kB / 0.7873 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.9639, allocations: 1.702 MB / 0.789 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.9643, allocations: 243 kB / 0.7892 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.9645, allocations: 18.25 kB / 0.7892 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.965, allocations: 46.83 kB / 0.7892 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.9652, allocations: 65.67 kB / 0.7893 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.9653, allocations: 52.95 kB / 0.7894 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005529/0.9658, allocations: 446.1 kB / 0.7898 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9658, allocations: 0.9062 kB / 0.7898 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001556/0.9674, allocations: 466.2 kB / 0.7902 GB, free: 0.7969 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.001135/0.9685, allocations: 0.5781 MB / 0.7908 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.971, allocations: 1.246 MB / 0.792 GB, free: 288 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.971, allocations: 0 / 0.792 GB, free: 288 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.9726, allocations: 0.9129 MB / 0.7929 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.9736, allocations: 247.7 kB / 0.7931 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.9772, allocations: 2.106 MB / 0.7952 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.9778, allocations: 1.013 MB / 0.7962 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00119/0.979, allocations: 0.6134 MB / 0.7968 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.9794, allocations: 138.6 kB / 0.7969 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of SimCode: time 1.383e-06/0.9794, allocations: 0 / 0.7969 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.02824/1.008, allocations: 19.16 MB / 0.8156 GB, free: 4.559 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 cvode -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