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.001497/0.001497, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.001725/0.001725, allocations: 191.7 kB / 16.91 MB, free: 6.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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.663/0.663, allocations: 91.18 MB / 381.9 MB, free: 7.637 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 75.88 kB / 460.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 67.67 MB / 0.5158 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7568/0.8672, allocations: 306.2 MB / 0.8148 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03441/0.9016, allocations: 38 MB / 0.8519 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.905, allocations: 115.2 kB / 0.852 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003964/0.909, allocations: 1.234 MB / 0.8532 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008778/0.9179, allocations: 3.056 MB / 0.8562 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008286/0.9262, allocations: 3.158 MB / 0.8593 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004909/0.9311, allocations: 3.737 MB / 0.863 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.9324, allocations: 0.822 MB / 0.8638 GB, free: 16.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/0.9366, allocations: 2.411 MB / 0.8661 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.939, allocations: 1.486 MB / 0.8676 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008185/0.9398, allocations: 230.9 kB / 0.8678 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.9525, allocations: 7.332 MB / 0.875 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009362/0.9535, allocations: 0.5733 MB / 0.8755 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.956, allocations: 1.405 MB / 0.8769 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006574/0.9626, allocations: 3.635 MB / 0.8804 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9626, allocations: 0 / 0.8804 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9626, allocations: 4 kB / 0.8804 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000107/0.9628, allocations: 0 / 0.8804 GB, free: 10.39 MB / 0.6075 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.008001/0.9708, allocations: 3.621 MB / 0.884 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.9708, allocations: 8.031 kB / 0.884 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/0.9752, allocations: 0.6022 MB / 0.8846 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.9782, allocations: 1.594 MB / 0.8861 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/0.9787, allocations: 409.7 kB / 0.8865 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/0.9792, allocations: 207.9 kB / 0.8867 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005033/0.9842, allocations: 2.321 MB / 0.889 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.9843, allocations: 4 kB / 0.889 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.9845, allocations: 91.94 kB / 0.8891 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-05/0.9846, allocations: 72.05 kB / 0.8891 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.9888, allocations: 1.878 MB / 0.891 GB, free: 15.5 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.01234/1.001, allocations: 9.294 MB / 0.9001 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/1.006, allocations: 1.963 MB / 0.902 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/1.008, allocations: 1.058 MB / 0.903 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/1.009, allocations: 2.616 MB / 0.9056 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.009, allocations: 49.12 kB / 0.9056 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 4.188e-06/1.009, allocations: 0 / 0.9056 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01688/1.026, allocations: 6.636 MB / 0.9121 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.026, allocations: 73.39 kB / 0.9122 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/1.028, allocations: 1.502 MB / 0.9136 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/1.029, allocations: 57.7 kB / 0.9137 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006883/1.029, allocations: 1.026 MB / 0.9147 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/1.03, allocations: 0.5951 MB / 0.9153 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006083/1.03, allocations: 323.5 kB / 0.9156 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/1.031, allocations: 305.1 kB / 0.9159 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.032, allocations: 0.6988 MB / 0.9165 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/1.034, allocations: 0.8479 MB / 0.9174 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/1.037, allocations: 1.58 MB / 0.9189 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.037, allocations: 0.9375 kB / 0.9189 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006838/1.044, allocations: 2.724 MB / 0.9216 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.044, allocations: 4.625 kB / 0.9216 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.044, allocations: 4 kB / 0.9216 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/1.046, allocations: 0.5592 MB / 0.9221 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.048, allocations: 427 kB / 0.9225 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.061, allocations: 10.15 MB / 0.9324 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.063, allocations: 125.1 kB / 0.9326 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004381/1.064, allocations: 127.9 kB / 0.9327 GB, free: 2.68 MB / 0.6544 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.001104/1.065, allocations: 380.4 kB / 0.9331 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/1.066, allocations: 213.5 kB / 0.9333 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/1.076, allocations: 4.079 MB / 0.9372 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/1.076, allocations: 16 kB / 0.9373 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.166e-05/1.076, allocations: 8 kB / 0.9373 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/1.076, allocations: 8.906 kB / 0.9373 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.088, allocations: 5.293 MB / 0.9424 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/1.088, allocations: 0 / 0.9424 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.091, allocations: 412.5 kB / 0.9428 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/1.093, allocations: 0.5715 MB / 0.9434 GB, free: 7.719 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003387/1.093, allocations: 79.94 kB / 0.9435 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/1.105, allocations: 10.13 MB / 0.9534 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.105, allocations: 11.28 kB / 0.9534 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008899/1.114, allocations: 3.746 MB / 0.957 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/1.115, allocations: 430.1 kB / 0.9574 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004551/1.116, allocations: 43.66 kB / 0.9575 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.117, allocations: 131.7 kB / 0.9576 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/1.118, allocations: 157.8 kB / 0.9578 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.118, allocations: 116 kB / 0.9579 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001495/1.119, allocations: 1.018 MB / 0.9589 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.119, allocations: 4 kB / 0.9589 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002696/1.122, allocations: 0.8746 MB / 0.9597 GB, free: 6.281 MB / 0.6856 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.002168/1.124, allocations: 1.053 MB / 0.9607 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00773/1.132, allocations: 2.843 MB / 0.9635 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.132, allocations: 0 / 0.9635 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003859/1.136, allocations: 1.912 MB / 0.9654 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.139, allocations: 0.5649 MB / 0.9659 GB, free: 0 / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009733/1.148, allocations: 5.913 MB / 0.9717 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.15, allocations: 1.57 MB / 0.9733 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.151, allocations: 395.1 kB / 0.9736 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/1.151, allocations: 2.906 kB / 0.9736 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of Templates: time 0.3045/1.456, allocations: 87.22 MB / 1.059 GB, free: 355.9 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