Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00943/0.00943, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001976/0.001976, allocations: 198 kB / 16.68 MB, free: 5.98 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7512/0.7512, allocations: 91.19 MB / 381.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 79.88 kB / 0.5169 GB, free: 9.016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.142, allocations: 67.69 MB / 0.583 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 1.051/1.193, allocations: 307.7 MB / 0.8835 GB, free: 1.715 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04022/1.233, allocations: 37.96 MB / 0.9205 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/1.236, allocations: 91.91 kB / 0.9206 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004052/1.24, allocations: 1.406 MB / 0.922 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/1.252, allocations: 3.318 MB / 0.9252 GB, free: 1.184 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01137/1.263, allocations: 3.434 MB / 0.9286 GB, free: 1.059 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006551/1.27, allocations: 3.742 MB / 0.9322 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/1.271, allocations: 0.8264 MB / 0.9331 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/1.276, allocations: 2.309 MB / 0.9353 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/1.279, allocations: 1.469 MB / 0.9367 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000636/1.28, allocations: 231.3 kB / 0.937 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01461/1.294, allocations: 6.708 MB / 0.9435 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/1.296, allocations: 0.5804 MB / 0.9441 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002673/1.298, allocations: 1.391 MB / 0.9454 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/1.313, allocations: 5.006 MB / 0.9503 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.313, allocations: 0 / 0.9503 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/1.313, allocations: 0 / 0.9503 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.344e-05/1.313, allocations: 0 / 0.9503 GB, free: 13.16 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.008189/1.321, allocations: 3.719 MB / 0.954 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.321, allocations: 9.625 kB / 0.954 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/1.326, allocations: 0.6282 MB / 0.9546 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/1.33, allocations: 1.75 MB / 0.9563 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005161/1.331, allocations: 412.4 kB / 0.9567 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/1.332, allocations: 217.2 kB / 0.9569 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/1.337, allocations: 2.316 MB / 0.9592 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/1.337, allocations: 0 / 0.9592 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/1.337, allocations: 90.41 kB / 0.9592 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.151e-05/1.337, allocations: 76.03 kB / 0.9593 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/1.341, allocations: 1.884 MB / 0.9612 GB, free: 6.602 MB / 0.6856 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.01339/1.355, allocations: 9.258 MB / 0.9702 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/1.359, allocations: 1.966 MB / 0.9721 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/1.361, allocations: 1.071 MB / 0.9732 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/1.363, allocations: 2.607 MB / 0.9757 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/1.363, allocations: 52.55 kB / 0.9758 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=174): time 3.907e-06/1.363, allocations: 4 kB / 0.9758 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of matching and sorting (n=176): time 0.01756/1.381, allocations: 6.678 MB / 0.9823 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.381, allocations: 69.52 kB / 0.9823 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/1.383, allocations: 1.51 MB / 0.9838 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/1.384, allocations: 57.7 kB / 0.9839 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007354/1.384, allocations: 1.044 MB / 0.9849 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/1.385, allocations: 0.6224 MB / 0.9855 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005672/1.385, allocations: 319.5 kB / 0.9858 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.386, allocations: 301.1 kB / 0.9861 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.387, allocations: 0.6988 MB / 0.9868 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/1.389, allocations: 0.8552 MB / 0.9876 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/1.392, allocations: 1.589 MB / 0.9892 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/1.393, allocations: 4 kB / 0.9892 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007368/1.4, allocations: 2.728 MB / 0.9918 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.4, allocations: 10.91 kB / 0.9918 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.4, allocations: 0 / 0.9918 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.402, allocations: 0.5546 MB / 0.9924 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.404, allocations: 427.5 kB / 0.9928 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.419, allocations: 10.14 MB / 1.003 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.421, allocations: 87.97 kB / 1.003 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003779/1.421, allocations: 124.5 kB / 1.003 GB, free: 11.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (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.001109/1.422, allocations: 383.5 kB / 1.003 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000528/1.423, allocations: 226.6 kB / 1.003 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00942/1.432, allocations: 4.066 MB / 1.007 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/1.432, allocations: 18.53 kB / 1.007 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.432, allocations: 8 kB / 1.007 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/1.432, allocations: 7.969 kB / 1.007 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/1.444, allocations: 5.283 MB / 1.013 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.444, allocations: 3.938 kB / 1.013 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.446, allocations: 407 kB / 1.013 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/1.448, allocations: 0.5704 MB / 1.014 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/1.449, allocations: 83.94 kB / 1.014 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/1.461, allocations: 10.13 MB / 1.024 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.461, allocations: 11.95 kB / 1.024 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009136/1.47, allocations: 3.763 MB / 1.027 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.471, allocations: 447.3 kB / 1.028 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/1.472, allocations: 39.98 kB / 1.028 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.473, allocations: 90.45 kB / 1.028 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/1.473, allocations: 156.3 kB / 1.028 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.474, allocations: 111.9 kB / 1.028 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001609/1.475, allocations: 1.026 MB / 1.029 GB, free: 56 kB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/1.475, allocations: 0 / 1.029 GB, free: 56 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003899/1.479, allocations: 0.8815 MB / 1.03 GB, free: 15.17 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/1.482, allocations: 1.05 MB / 1.031 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006346/1.488, allocations: 2.696 MB / 1.034 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.488, allocations: 0 / 1.034 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004501/1.493, allocations: 1.909 MB / 1.035 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/1.496, allocations: 0.5716 MB / 1.036 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009307/1.505, allocations: 4.89 MB / 1.041 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.506, allocations: 1.581 MB / 1.042 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00323/1.51, allocations: 1.424 MB / 1.044 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009589/1.511, allocations: 319.2 kB / 1.044 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of SimCode: time 1.062e-06/1.511, allocations: 0 / 1.044 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of Templates: time 0.07563/1.586, allocations: 42.84 MB / 1.086 GB, free: 6.332 MB / 0.8106 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches