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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009067/0.009066, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001886/0.001886, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7661/0.7661, allocations: 91.19 MB / 381.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 75.83 kB / 0.5164 GB, free: 4.586 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3929, allocations: 67.68 MB / 0.5825 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6425/1.035, allocations: 307.7 MB / 0.883 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04233/1.078, allocations: 37.95 MB / 0.9201 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/1.081, allocations: 95.38 kB / 0.9201 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004372/1.085, allocations: 1.401 MB / 0.9215 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.096, allocations: 3.327 MB / 0.9248 GB, free: 10.1 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.106, allocations: 3.43 MB / 0.9281 GB, free: 6.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006081/1.112, allocations: 3.737 MB / 0.9318 GB, free: 2.906 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/1.114, allocations: 0.8282 MB / 0.9326 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/1.119, allocations: 2.351 MB / 0.9349 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/1.121, allocations: 1.474 MB / 0.9363 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007418/1.122, allocations: 232 kB / 0.9365 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/1.135, allocations: 6.705 MB / 0.9431 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/1.136, allocations: 0.5758 MB / 0.9436 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0027/1.139, allocations: 1.395 MB / 0.945 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/1.154, allocations: 4.974 MB / 0.9499 GB, free: 288 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.154, allocations: 0 / 0.9499 GB, free: 288 kB / 0.6856 GB Notification: Performance of FrontEnd: time 3.576e-06/1.154, allocations: 4 kB / 0.9499 GB, free: 284 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001689/1.154, allocations: 3.938 kB / 0.9499 GB, free: 280 kB / 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.008798/1.163, allocations: 3.614 MB / 0.9534 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.163, allocations: 8.031 kB / 0.9534 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005775/1.163, allocations: 295.3 kB / 0.9537 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/1.168, allocations: 0.6052 MB / 0.9543 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/1.172, allocations: 1.736 MB / 0.956 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004753/1.173, allocations: 413.6 kB / 0.9564 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006645/1.173, allocations: 207.9 kB / 0.9566 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005369/1.179, allocations: 2.323 MB / 0.9588 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/1.179, allocations: 7.875 kB / 0.9588 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/1.179, allocations: 84 kB / 0.9589 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/1.179, allocations: 76.05 kB / 0.959 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004394/1.184, allocations: 1.878 MB / 0.9608 GB, free: 4.746 MB / 0.7012 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.0157/1.199, allocations: 9.243 MB / 0.9699 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/1.204, allocations: 1.971 MB / 0.9718 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/1.206, allocations: 1.068 MB / 0.9728 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/1.208, allocations: 2.611 MB / 0.9754 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.363e-05/1.208, allocations: 44.56 kB / 0.9754 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.508e-06/1.208, allocations: 112 / 0.9754 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01717/1.225, allocations: 6.644 MB / 0.9819 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.225, allocations: 73.34 kB / 0.982 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/1.228, allocations: 1.506 MB / 0.9834 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002016/1.228, allocations: 57.7 kB / 0.9835 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009328/1.229, allocations: 1.024 MB / 0.9845 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000639/1.23, allocations: 0.5928 MB / 0.9851 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007276/1.23, allocations: 323.4 kB / 0.9854 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/1.23, allocations: 305.1 kB / 0.9857 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/1.232, allocations: 0.6949 MB / 0.9864 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/1.234, allocations: 0.8528 MB / 0.9872 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/1.237, allocations: 1.581 MB / 0.9887 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.237, allocations: 4 kB / 0.9887 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006902/1.244, allocations: 2.72 MB / 0.9914 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.244, allocations: 4 kB / 0.9914 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.244, allocations: 7.938 kB / 0.9914 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/1.246, allocations: 0.5749 MB / 0.992 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/1.248, allocations: 423.5 kB / 0.9924 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/1.261, allocations: 10.13 MB / 1.002 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.263, allocations: 83.97 kB / 1.002 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/1.263, allocations: 127.9 kB / 1.002 GB, free: 7.621 MB / 0.7481 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.0009783/1.264, allocations: 377.6 kB / 1.003 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/1.265, allocations: 213.2 kB / 1.003 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009071/1.274, allocations: 4.075 MB / 1.007 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.274, allocations: 16 kB / 1.007 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.274, allocations: 8 kB / 1.007 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/1.274, allocations: 11.95 kB / 1.007 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.285, allocations: 5.271 MB / 1.012 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.285, allocations: 4 kB / 1.012 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.287, allocations: 411.7 kB / 1.013 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/1.289, allocations: 0.5744 MB / 1.013 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/1.29, allocations: 83.88 kB / 1.013 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.302, allocations: 10.13 MB / 1.023 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.302, allocations: 0 / 1.023 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2844/1.586, allocations: 3.745 MB / 1.027 GB, free: 326.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008736/1.587, allocations: 441.2 kB / 1.027 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.588, allocations: 38.52 kB / 1.027 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.589, allocations: 85.33 kB / 1.027 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/1.589, allocations: 162.2 kB / 1.027 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.589, allocations: 114.6 kB / 1.028 GB, free: 326.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001415/1.591, allocations: 1.014 MB / 1.029 GB, free: 326.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/1.591, allocations: 0 / 1.029 GB, free: 326.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002846/1.594, allocations: 0.8816 MB / 1.029 GB, free: 326.1 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.01005/1.604, allocations: 5.256 MB / 1.035 GB, free: 324.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004996/1.609, allocations: 2.686 MB / 1.037 GB, free: 323.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.609, allocations: 0 / 1.037 GB, free: 323.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003192/1.612, allocations: 1.907 MB / 1.039 GB, free: 322.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.614, allocations: 0.5647 MB / 1.04 GB, free: 322 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/1.642, allocations: 17.15 MB / 1.056 GB, free: 312 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/1.643, allocations: 1.566 MB / 1.058 GB, free: 310.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002601/1.646, allocations: 1.437 MB / 1.059 GB, free: 309 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.647, allocations: 1.167 MB / 1.06 GB, free: 307.8 MB / 0.7637 GB Notification: Performance of SimCode: time 6.72e-07/1.647, allocations: 0 / 1.06 GB, free: 307.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09963/1.747, allocations: 65.3 MB / 1.124 GB, free: 242.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/16.1, allocations: 14.22 kB / 1.124 GB, free: 242.9 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > 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