Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001343/0.001343, allocations: 107.1 kB / 15.98 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.00143/0.00143, allocations: 190 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222.8 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1823/0.1823, allocations: 43.51 MB / 313.6 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 66.47 kB / 382.3 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08823, allocations: 57.79 MB / 440.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003367/0.09163, allocations: 2.173 MB / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.09339, allocations: 1.395 MB / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.09359, allocations: 4 kB / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.09399, allocations: 79.56 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.0942, allocations: 59.47 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.09479, allocations: 195.2 kB / 444 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.09493, allocations: 143 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.09499, allocations: 16.3 kB / 444.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.0951, allocations: 59.59 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.09518, allocations: 63.53 kB / 444.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.0952, allocations: 4 kB / 444.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.09563, allocations: 431.3 kB / 444.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.09568, allocations: 19.86 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.09574, allocations: 75.44 kB / 444.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.0961, allocations: 430.6 kB / 445.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09611, allocations: 7.938 kB / 445.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09612, allocations: 0 / 445.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.09613, allocations: 0 / 445.3 MB, free: 2.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004221/0.09656, allocations: 498.6 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.0966, allocations: 15.97 kB / 445.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.09664, allocations: 50.73 kB / 445.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.09668, allocations: 28.59 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.09681, allocations: 217.9 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.09682, allocations: 16.38 kB / 446.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.09685, allocations: 19.94 kB / 446.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.09714, allocations: 202.7 kB / 446.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.09716, allocations: 0 / 446.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.09718, allocations: 8 kB / 446.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.09719, allocations: 4 kB / 446.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.09742, allocations: 156.2 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.09803, allocations: 0.5636 MB / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.0982, allocations: 66.48 kB / 447.1 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/0.0983, allocations: 28.95 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.09834, allocations: 8 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.09837, allocations: 30.56 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.09837, allocations: 0 / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000424/0.0988, allocations: 137.3 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.09884, allocations: 55.41 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.09906, allocations: 258.7 kB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.09909, allocations: 25.7 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.09919, allocations: 163.7 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.09921, allocations: 23.66 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.09927, allocations: 33.7 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.0994, allocations: 338.8 kB / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.09952, allocations: 35.97 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.09969, allocations: 130.8 kB / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.09999, allocations: 192.6 kB / 448.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1, allocations: 0 / 448.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003651/0.1004, allocations: 201.2 kB / 448.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1004, allocations: 4 kB / 448.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.1004, allocations: 20 kB / 448.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1004, allocations: 4.438 kB / 448.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1006, allocations: 35.97 kB / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1006, allocations: 7.938 kB / 448.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1007, allocations: 31.69 kB / 448.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.1007, allocations: 8 kB / 448.8 MB, free: 14.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.1008, allocations: 145.6 kB / 448.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.1009, allocations: 19.72 kB / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.1012, allocations: 134.9 kB / 449.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1013, allocations: 0 / 449.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1013, allocations: 0 / 449.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1013, allocations: 4 kB / 449.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.1015, allocations: 217.5 kB / 449.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.1015, allocations: 15.94 kB / 449.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.1016, allocations: 11.98 kB / 449.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1016, allocations: 0 / 449.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1016, allocations: 4 kB / 449.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1016, allocations: 4 kB / 449.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1016, allocations: 0 / 449.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1019, allocations: 207.1 kB / 449.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.102, allocations: 101 kB / 449.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.102, allocations: 0 / 449.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.1021, allocations: 11.97 kB / 449.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1021, allocations: 4 kB / 449.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1022, allocations: 4 kB / 449.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1023, allocations: 182 kB / 449.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1023, allocations: 0 / 449.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.1027, allocations: 75.88 kB / 449.9 MB, free: 12.97 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007203/0.1034, allocations: 0.8214 MB / 450.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.1038, allocations: 176 kB / 450.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1038, allocations: 0 / 450.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.104, allocations: 91.38 kB / 451 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1044, allocations: 24.83 kB / 451 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.107, allocations: 2.429 MB / 453.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1073, allocations: 0.732 MB / 454.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.892e-05/0.1073, allocations: 17.55 kB / 454.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.1074, allocations: 55.42 kB / 454.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1074, allocations: 0 / 454.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.796/1.903, allocations: 6.514 MB / 460.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.903, allocations: 279.4 kB / 461 MB, free: 1.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/4.514, allocations: 3.938 kB / 461.1 MB, free: 1.594 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches