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.0007814/0.0007814, allocations: 92.16 kB / 16.02 MB, free: 76 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.0008643/0.0008643, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6508/0.6508, allocations: 89.63 MB / 381.7 MB, free: 11.35 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003706, allocations: 13.95 kB / 461.3 MB, free: 24.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 68.82 MB / 0.5177 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8524/0.9667, allocations: 302.3 MB / 0.8129 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03769/1.004, allocations: 37.62 MB / 0.8497 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/1.007, allocations: 51.34 kB / 0.8497 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/1.01, allocations: 1.223 MB / 0.8509 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007952/1.018, allocations: 2.927 MB / 0.8538 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00833/1.027, allocations: 2.988 MB / 0.8567 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005275/1.032, allocations: 4.014 MB / 0.8606 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/1.034, allocations: 0.6922 MB / 0.8613 GB, free: 16.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/1.038, allocations: 2.056 MB / 0.8633 GB, free: 16.62 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/1.04, allocations: 1.287 MB / 0.8646 GB, free: 16.62 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007215/1.041, allocations: 109.8 kB / 0.8647 GB, free: 16.62 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/1.054, allocations: 6.997 MB / 0.8715 GB, free: 16.44 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008917/1.055, allocations: 430.6 kB / 0.8719 GB, free: 16.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/1.058, allocations: 1.193 MB / 0.8731 GB, free: 16.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006569/1.064, allocations: 3.351 MB / 0.8763 GB, free: 16.1 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.064, allocations: 1.812 kB / 0.8763 GB, free: 16.1 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.134e-06/1.064, allocations: 0 / 0.8763 GB, free: 16.1 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001264/1.065, allocations: 0 / 0.8763 GB, free: 16.1 MB / 0.6231 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.007408/1.072, allocations: 2.888 MB / 0.8792 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.072, allocations: 9.031 kB / 0.8792 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/1.077, allocations: 0.5646 MB / 0.8797 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/1.079, allocations: 1.228 MB / 0.8809 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/1.08, allocations: 422.7 kB / 0.8813 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005808/1.08, allocations: 213.1 kB / 0.8815 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/1.085, allocations: 2.376 MB / 0.8839 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/1.085, allocations: 2.594 kB / 0.8839 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/1.086, allocations: 80.84 kB / 0.8839 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/1.086, allocations: 77.27 kB / 0.884 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/1.09, allocations: 1.942 MB / 0.8859 GB, free: 12.98 MB / 0.6231 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.01179/1.102, allocations: 9.24 MB / 0.8949 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/1.106, allocations: 2.044 MB / 0.8969 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/1.108, allocations: 1.098 MB / 0.898 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/1.109, allocations: 2.612 MB / 0.9005 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/1.11, allocations: 59.52 kB / 0.9006 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 3.647e-06/1.11, allocations: 0 / 0.9006 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.0166/1.126, allocations: 7.085 MB / 0.9075 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.126, allocations: 71.72 kB / 0.9076 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/1.128, allocations: 1.206 MB / 0.9088 GB, free: 180 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/1.128, allocations: 55.52 kB / 0.9088 GB, free: 148 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/1.129, allocations: 0.8727 MB / 0.9097 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/1.129, allocations: 0.594 MB / 0.9103 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.129, allocations: 128.6 kB / 0.9104 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/1.129, allocations: 301.1 kB / 0.9107 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/1.131, allocations: 0.7423 MB / 0.9114 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.133, allocations: 0.9104 MB / 0.9123 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/1.136, allocations: 1.676 MB / 0.9139 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.136, allocations: 0 / 0.9139 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007227/1.143, allocations: 2.926 MB / 0.9168 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.143, allocations: 8 kB / 0.9168 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.143, allocations: 3.938 kB / 0.9168 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/1.145, allocations: 0.6318 MB / 0.9174 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/1.148, allocations: 435.4 kB / 0.9178 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.16, allocations: 9.749 MB / 0.9273 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.162, allocations: 153.5 kB / 0.9275 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/1.163, allocations: 120.3 kB / 0.9276 GB, free: 1.086 MB / 0.6387 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.001069/1.164, allocations: 359.1 kB / 0.9279 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/1.164, allocations: 177.8 kB / 0.9281 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/1.175, allocations: 4.294 MB / 0.9323 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/1.175, allocations: 27.92 kB / 0.9323 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/1.175, allocations: 8 kB / 0.9323 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/1.175, allocations: 7.969 kB / 0.9323 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/1.188, allocations: 5.453 MB / 0.9377 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.188, allocations: 6.531 kB / 0.9377 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/1.19, allocations: 411.2 kB / 0.9381 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/1.192, allocations: 0.6384 MB / 0.9387 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/1.192, allocations: 75.95 kB / 0.9388 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/1.206, allocations: 9.746 MB / 0.9483 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.206, allocations: 6.562 kB / 0.9483 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009599/1.215, allocations: 3.976 MB / 0.9522 GB, free: 9.008 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.216, allocations: 422.4 kB / 0.9526 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/1.217, allocations: 36 kB / 0.9526 GB, free: 8.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.218, allocations: 147.8 kB / 0.9527 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/1.219, allocations: 168.2 kB / 0.9529 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/1.219, allocations: 112 kB / 0.953 GB, free: 8.121 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001252/1.22, allocations: 0.8261 MB / 0.9538 GB, free: 7.297 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.22, allocations: 0 / 0.9538 GB, free: 7.297 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002872/1.223, allocations: 0.8669 MB / 0.9547 GB, free: 6.43 MB / 0.67 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.002201/1.225, allocations: 1.134 MB / 0.9558 GB, free: 5.406 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006029/1.231, allocations: 2.864 MB / 0.9586 GB, free: 2.508 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.231, allocations: 0 / 0.9586 GB, free: 2.508 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004089/1.236, allocations: 2.034 MB / 0.9606 GB, free: 452 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/1.239, allocations: 0.499 MB / 0.961 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00979/1.249, allocations: 5.721 MB / 0.9666 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.25, allocations: 1.471 MB / 0.9681 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.252, allocations: 371.1 kB / 0.9684 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of SimCode: time 7.52e-07/1.252, allocations: 2.625 kB / 0.9684 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of Templates: time 0.08688/1.339, allocations: 78.41 MB / 1.045 GB, free: 10.04 MB / 0.7637 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches