Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001844/0.001844, allocations: 103.2 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.00201/0.00201, 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.551/1.551, allocations: 225.6 MB / 247.8 MB, free: 3.723 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.6859/0.6859, allocations: 94.6 MB / 397.3 MB, free: 496 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_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003609/0.003609, allocations: 83.88 kB / 0.5416 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.513, allocations: 71.85 MB / 0.6118 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.3292/0.8422, allocations: 235.9 MB / 0.8421 GB, free: 8.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.8736, allocations: 22.41 MB / 0.864 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.8754, allocations: 67.56 kB / 0.8641 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.8777, allocations: 0.7878 MB / 0.8649 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.5251/1.403, allocations: 2.067 MB / 0.8669 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007656/1.411, allocations: 2.184 MB / 0.869 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004495/1.415, allocations: 2.243 MB / 0.8712 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006731/1.416, allocations: 260.3 kB / 0.8715 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/1.42, allocations: 1.431 MB / 0.8729 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/1.422, allocations: 0.8571 MB / 0.8737 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002735/1.422, allocations: 134.2 kB / 0.8738 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/1.433, allocations: 4.116 MB / 0.8778 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004435/1.434, allocations: 348.2 kB / 0.8782 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/1.435, allocations: 0.8228 MB / 0.879 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00929/1.445, allocations: 3.045 MB / 0.8819 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.445, allocations: 0 / 0.8819 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.242e-06/1.445, allocations: 0.6875 kB / 0.8819 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.824e-05/1.445, allocations: 0 / 0.8819 GB, free: 3.137 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.006305/1.451, allocations: 2.396 MB / 0.8843 GB, free: 17.99 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.451, allocations: 11.03 kB / 0.8843 GB, free: 17.99 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/1.451, allocations: 187.6 kB / 0.8845 GB, free: 17.95 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/1.455, allocations: 421.7 kB / 0.8849 GB, free: 17.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/1.458, allocations: 1.137 MB / 0.886 GB, free: 17.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/1.458, allocations: 350.1 kB / 0.8863 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/1.459, allocations: 129.2 kB / 0.8864 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/1.462, allocations: 1.453 MB / 0.8879 GB, free: 17.03 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/1.462, allocations: 4.875 kB / 0.8879 GB, free: 17.03 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/1.462, allocations: 49.19 kB / 0.8879 GB, free: 17.03 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/1.462, allocations: 30.69 kB / 0.8879 GB, free: 17.03 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/1.465, allocations: 1.187 MB / 0.8891 GB, free: 17.02 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.00886/1.474, allocations: 5.456 MB / 0.8944 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/1.477, allocations: 1.25 MB / 0.8957 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/1.479, allocations: 0.6728 MB / 0.8963 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/1.48, allocations: 1.788 MB / 0.8981 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/1.48, allocations: 47.03 kB / 0.8981 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=113): time 4.037e-06/1.48, allocations: 0 / 0.8981 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=113): time 0.008837/1.489, allocations: 3.051 MB / 0.9011 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.489, allocations: 68.75 kB / 0.9011 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.491, allocations: 0.9166 MB / 0.902 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.393e-05/1.491, allocations: 43.23 kB / 0.9021 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/1.491, allocations: 0.6437 MB / 0.9027 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/1.491, allocations: 407.6 kB / 0.9031 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004666/1.492, allocations: 200.4 kB / 0.9033 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.492, allocations: 344.7 kB / 0.9036 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/1.493, allocations: 0.4916 MB / 0.9041 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/1.495, allocations: 0.5793 MB / 0.9047 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/1.497, allocations: 1.059 MB / 0.9057 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.497, allocations: 0 / 0.9057 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005271/1.502, allocations: 1.921 MB / 0.9076 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.502, allocations: 7.422 kB / 0.9076 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.502, allocations: 0 / 0.9076 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1.504, allocations: 413.2 kB / 0.908 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.505, allocations: 297.5 kB / 0.9083 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/1.516, allocations: 7.427 MB / 0.9155 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.517, allocations: 132 kB / 0.9156 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.517, allocations: 73 kB / 0.9157 GB, free: 4.68 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.0006294/1.518, allocations: 272.3 kB / 0.916 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/1.518, allocations: 138.4 kB / 0.9161 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006814/1.525, allocations: 2.714 MB / 0.9188 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.525, allocations: 14.34 kB / 0.9188 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.525, allocations: 4.312 kB / 0.9188 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.525, allocations: 6.469 kB / 0.9188 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00802/1.533, allocations: 3.595 MB / 0.9223 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.533, allocations: 2.594 kB / 0.9223 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.535, allocations: 298.2 kB / 0.9226 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/1.536, allocations: 417.3 kB / 0.923 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/1.536, allocations: 48.06 kB / 0.923 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/1.546, allocations: 7.421 MB / 0.9303 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.546, allocations: 6.875 kB / 0.9303 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/1.553, allocations: 2.607 MB / 0.9328 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009019/1.554, allocations: 331.3 kB / 0.9331 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/1.554, allocations: 23.09 kB / 0.9332 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/1.555, allocations: 75.56 kB / 0.9332 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/1.555, allocations: 101.7 kB / 0.9333 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.555, allocations: 70.22 kB / 0.9334 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00103/1.556, allocations: 0.6254 MB / 0.934 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/1.556, allocations: 0 / 0.934 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002346/1.559, allocations: 0.6056 MB / 0.9346 GB, free: 13.43 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.008351/1.567, allocations: 3.744 MB / 0.9382 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004834/1.572, allocations: 1.833 MB / 0.94 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.572, allocations: 0 / 0.94 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/1.575, allocations: 1.33 MB / 0.9413 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.577, allocations: 306.7 kB / 0.9416 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/1.599, allocations: 11.33 MB / 0.9527 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.6, allocations: 1.208 MB / 0.9539 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001994/1.602, allocations: 0.8456 MB / 0.9547 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.603, allocations: 0.6801 MB / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.603, allocations: 0 / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.706, allocations: 39 MB / 0.9934 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.91, allocations: 8 kB / 0.9934 GB, free: 15.95 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 18.660405383910984]