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.001171/0.001171, allocations: 110.4 kB / 17.54 MB, free: 4.641 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.001167/0.001167, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.266/1.266, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5439/0.5439, allocations: 94.6 MB / 399 MB, free: 15.78 MB / 334.1 MB " [Timeout remaining time 179] 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_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.002201/0.002201, allocations: 79.88 kB / 0.5442 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3148, allocations: 71.83 MB / 0.6143 GB, free: 3.859 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.2359/0.5507, allocations: 236.6 MB / 0.8454 GB, free: 7.742 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02516/0.5758, allocations: 22.57 MB / 0.8674 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.5769, allocations: 63.56 kB / 0.8675 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.5789, allocations: 0.7955 MB / 0.8682 GB, free: 232 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.2922/0.871, allocations: 2.059 MB / 0.8702 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.8758, allocations: 2.19 MB / 0.8724 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.8783, allocations: 2.244 MB / 0.8746 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.8787, allocations: 258.7 kB / 0.8748 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.8813, allocations: 1.436 MB / 0.8762 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000997/0.8823, allocations: 0.8525 MB / 0.8771 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.8825, allocations: 135.2 kB / 0.8772 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007593/0.8901, allocations: 4.138 MB / 0.8812 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.8904, allocations: 342.8 kB / 0.8816 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.8915, allocations: 0.827 MB / 0.8824 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.8974, allocations: 3.041 MB / 0.8853 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.8974, allocations: 0 / 0.8853 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8974, allocations: 0.875 kB / 0.8853 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.623e-05/0.8974, allocations: 0.9062 kB / 0.8853 GB, free: 2.371 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.004223/0.9017, allocations: 2.395 MB / 0.8877 GB, free: 17.22 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.9017, allocations: 11.23 kB / 0.8877 GB, free: 17.22 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.9019, allocations: 188 kB / 0.8879 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.9047, allocations: 422.1 kB / 0.8883 GB, free: 17.08 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.9065, allocations: 1.137 MB / 0.8894 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/0.9068, allocations: 349.1 kB / 0.8897 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.907, allocations: 129.6 kB / 0.8898 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.9094, allocations: 1.45 MB / 0.8912 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.9095, allocations: 2.562 kB / 0.8913 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.9096, allocations: 52.97 kB / 0.8913 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.9096, allocations: 30.78 kB / 0.8913 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.9119, allocations: 1.191 MB / 0.8925 GB, free: 16.25 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.005768/0.9177, allocations: 5.46 MB / 0.8978 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.9201, allocations: 1.251 MB / 0.899 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.9213, allocations: 0.6722 MB / 0.8997 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.9224, allocations: 1.787 MB / 0.9014 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.9225, allocations: 48.12 kB / 0.9015 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=113): time 2.234e-06/0.9225, allocations: 0 / 0.9015 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=113): time 0.007527/0.93, allocations: 3.044 MB / 0.9045 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.93, allocations: 68.16 kB / 0.9045 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/0.9309, allocations: 0.9168 MB / 0.9054 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.809e-05/0.931, allocations: 46.73 kB / 0.9055 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.9313, allocations: 0.6438 MB / 0.9061 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.9316, allocations: 405.5 kB / 0.9065 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/0.9319, allocations: 206.1 kB / 0.9067 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.932, allocations: 341.8 kB / 0.907 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.933, allocations: 0.4917 MB / 0.9075 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.9341, allocations: 0.5869 MB / 0.9081 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.9362, allocations: 1.05 MB / 0.9091 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9362, allocations: 0.9375 kB / 0.9091 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004614/0.9408, allocations: 1.926 MB / 0.911 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.9408, allocations: 9.312 kB / 0.911 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9409, allocations: 0 / 0.911 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.9421, allocations: 420.8 kB / 0.9114 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.9434, allocations: 295.8 kB / 0.9117 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008782/0.9522, allocations: 7.416 MB / 0.9189 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.9532, allocations: 132.5 kB / 0.919 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.9533, allocations: 73.56 kB / 0.9191 GB, free: 3.914 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.0004873/0.9538, allocations: 271.8 kB / 0.9194 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.9541, allocations: 137 kB / 0.9195 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005762/0.9598, allocations: 2.716 MB / 0.9221 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.9598, allocations: 18.44 kB / 0.9222 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.9598, allocations: 2.625 kB / 0.9222 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.9599, allocations: 7.547 kB / 0.9222 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/0.9666, allocations: 3.588 MB / 0.9257 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9666, allocations: 0 / 0.9257 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.9679, allocations: 297.5 kB / 0.926 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.9691, allocations: 419.8 kB / 0.9264 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.9692, allocations: 51.03 kB / 0.9264 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008882/0.9781, allocations: 7.428 MB / 0.9337 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9781, allocations: 3.938 kB / 0.9337 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/0.9838, allocations: 2.606 MB / 0.9362 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.9843, allocations: 326.5 kB / 0.9365 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.9844, allocations: 25.59 kB / 0.9365 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.9852, allocations: 72.34 kB / 0.9366 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.9853, allocations: 100.3 kB / 0.9367 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.9854, allocations: 71.3 kB / 0.9368 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006722/0.9861, allocations: 0.6284 MB / 0.9374 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9861, allocations: 4 kB / 0.9374 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001519/0.9876, allocations: 0.6039 MB / 0.938 GB, free: 12.65 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.00658/0.9942, allocations: 3.733 MB / 0.9416 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.9978, allocations: 1.834 MB / 0.9434 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9978, allocations: 128 / 0.9434 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002409/1, allocations: 1.329 MB / 0.9447 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.001, allocations: 309.3 kB / 0.945 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.02, allocations: 11.33 MB / 0.9561 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008248/1.021, allocations: 1.203 MB / 0.9573 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001637/1.022, allocations: 0.8463 MB / 0.9581 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/1.023, allocations: 0.6776 MB / 0.9587 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/1.023, allocations: 0 / 0.9587 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08088/1.104, allocations: 39.13 MB / 0.997 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.93, allocations: 15.98 kB / 0.997 GB, free: 14.57 MB / 0.7637 GB " [Timeout remaining time 647] (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 --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/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: 15.928016808000393]