Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 104.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002501/0.002501, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7215/0.7215, allocations: 94.61 MB / 397.3 MB, free: 492 kB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003456/0.003456, allocations: 79.88 kB / 0.5416 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.632/0.6355, allocations: 71.85 MB / 0.6118 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.3546/0.9901, allocations: 235.9 MB / 0.8421 GB, free: 8.922 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03478/1.025, allocations: 22.41 MB / 0.864 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/1.028, allocations: 63.56 kB / 0.8641 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/1.031, allocations: 0.7917 MB / 0.8649 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.6553/1.686, allocations: 2.065 MB / 0.8669 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008396/1.695, allocations: 2.191 MB / 0.869 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00451/1.699, allocations: 2.243 MB / 0.8712 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009659/1.7, allocations: 261.3 kB / 0.8715 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/1.705, allocations: 1.428 MB / 0.8729 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/1.707, allocations: 0.852 MB / 0.8737 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/1.707, allocations: 134.2 kB / 0.8738 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/1.719, allocations: 4.112 MB / 0.8778 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009481/1.72, allocations: 348 kB / 0.8782 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002338/1.722, allocations: 0.8235 MB / 0.879 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01019/1.732, allocations: 3.046 MB / 0.8819 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/1.732, allocations: 0.7188 kB / 0.8819 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/1.732, allocations: 0.875 kB / 0.8819 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.402e-05/1.733, allocations: 2.078 kB / 0.8819 GB, free: 3.246 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.006979/1.739, allocations: 2.395 MB / 0.8843 GB, free: 18.1 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.74, allocations: 9.469 kB / 0.8843 GB, free: 18.1 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002882/1.74, allocations: 193.5 kB / 0.8845 GB, free: 18.05 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/1.744, allocations: 425.4 kB / 0.8849 GB, free: 17.95 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/1.747, allocations: 1.136 MB / 0.886 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/1.747, allocations: 350.2 kB / 0.8863 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/1.748, allocations: 132.3 kB / 0.8865 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/1.751, allocations: 1.451 MB / 0.8879 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/1.751, allocations: 1.969 kB / 0.8879 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.751, allocations: 49.62 kB / 0.8879 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.455e-05/1.751, allocations: 30 kB / 0.8879 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/1.755, allocations: 1.19 MB / 0.8891 GB, free: 17.12 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.01002/1.765, allocations: 5.456 MB / 0.8944 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/1.768, allocations: 1.251 MB / 0.8957 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/1.769, allocations: 0.6762 MB / 0.8963 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/1.771, allocations: 1.785 MB / 0.8981 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.771, allocations: 41.72 kB / 0.8981 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=113): time 3.757e-06/1.771, allocations: 1.312 kB / 0.8981 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=113): time 0.008939/1.78, allocations: 3.05 MB / 0.9011 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/1.78, allocations: 68.06 kB / 0.9011 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/1.782, allocations: 0.9142 MB / 0.902 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/1.782, allocations: 42.52 kB / 0.9021 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000532/1.782, allocations: 0.6448 MB / 0.9027 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.783, allocations: 404.5 kB / 0.9031 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/1.783, allocations: 201.8 kB / 0.9033 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.783, allocations: 348.7 kB / 0.9036 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.784, allocations: 0.4964 MB / 0.9041 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.785, allocations: 0.5799 MB / 0.9047 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/1.788, allocations: 1.053 MB / 0.9057 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.788, allocations: 1 kB / 0.9057 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005362/1.793, allocations: 1.924 MB / 0.9076 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/1.793, allocations: 5.719 kB / 0.9076 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.793, allocations: 2.375 kB / 0.9076 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/1.795, allocations: 411.5 kB / 0.908 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.796, allocations: 303.1 kB / 0.9083 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.807, allocations: 7.42 MB / 0.9155 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.809, allocations: 134.3 kB / 0.9156 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/1.81, allocations: 76.12 kB / 0.9157 GB, free: 4.777 MB / 0.7012 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009798/1.811, allocations: 278.7 kB / 0.916 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/1.811, allocations: 136.7 kB / 0.9161 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006976/1.818, allocations: 2.706 MB / 0.9188 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.818, allocations: 10.66 kB / 0.9188 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.818, allocations: 5.938 kB / 0.9188 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.818, allocations: 3.844 kB / 0.9188 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008665/1.827, allocations: 3.599 MB / 0.9223 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.827, allocations: 3.312 kB / 0.9223 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.828, allocations: 290.3 kB / 0.9226 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/1.829, allocations: 418 kB / 0.923 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.83, allocations: 51.86 kB / 0.923 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.84, allocations: 7.425 MB / 0.9303 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.84, allocations: 3.938 kB / 0.9303 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007343/1.848, allocations: 2.604 MB / 0.9328 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.849, allocations: 326.3 kB / 0.9331 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.849, allocations: 26.19 kB / 0.9331 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/1.85, allocations: 73.78 kB / 0.9332 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/1.85, allocations: 104.3 kB / 0.9333 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.85, allocations: 67.78 kB / 0.9334 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009623/1.851, allocations: 0.632 MB / 0.934 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.851, allocations: 0 / 0.934 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002586/1.854, allocations: 0.6071 MB / 0.9346 GB, free: 13.54 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.009297/1.863, allocations: 3.741 MB / 0.9382 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004765/1.868, allocations: 1.832 MB / 0.94 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/1.868, allocations: 4.125 kB / 0.94 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003421/1.871, allocations: 1.319 MB / 0.9413 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.873, allocations: 322.2 kB / 0.9416 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.901, allocations: 11.33 MB / 0.9527 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.902, allocations: 1.205 MB / 0.9539 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002421/1.904, allocations: 0.8496 MB / 0.9547 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.905, allocations: 0.6811 MB / 0.9554 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of SimCode: time 2.534e-06/1.905, allocations: 0 / 0.9554 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/2.018, allocations: 38.98 MB / 0.9934 GB, free: 68 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/17.06, allocations: 3.938 kB / 0.9934 GB, free: 64 kB / 0.7481 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.030700678937137]