Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001548/0.001548, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001968, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 78.17 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1083, allocations: 62.44 MB / 480.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00364/0.112, allocations: 2.13 MB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.114, allocations: 1.41 MB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1142, allocations: 0 / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1145, allocations: 87.44 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1147, allocations: 63.42 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.1153, allocations: 219.1 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1156, allocations: 139 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.1156, allocations: 20.3 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1158, allocations: 63.59 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.1159, allocations: 63.59 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1159, allocations: 4 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.1165, allocations: 435.3 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.1166, allocations: 23.84 kB / 484.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.1167, allocations: 71.42 kB / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.1172, allocations: 438.5 kB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1172, allocations: 4 kB / 485.3 MB, free: 24 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1173, allocations: 0 / 485.3 MB, free: 24 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1173, allocations: 0 / 485.3 MB, free: 24 kB / 350.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.000599/0.1179, allocations: 0.4907 MB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1179, allocations: 15.97 kB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.118, allocations: 50.73 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.118, allocations: 20.75 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1182, allocations: 215.9 kB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1182, allocations: 12.38 kB / 486.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1183, allocations: 23.94 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.1186, allocations: 199.8 kB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1186, allocations: 0 / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1187, allocations: 8 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1187, allocations: 4 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.119, allocations: 152.2 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.1198, allocations: 0.5752 MB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.12, allocations: 66.55 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1201, allocations: 28.95 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1201, allocations: 0 / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1202, allocations: 34.56 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.1202, allocations: 0 / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004426/0.1206, allocations: 137.3 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1207, allocations: 51.41 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1209, allocations: 258.6 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1209, allocations: 25.7 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.121, allocations: 171.6 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1211, allocations: 15.75 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.1211, allocations: 45.61 kB / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1213, allocations: 334.8 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1214, allocations: 35.97 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.1216, allocations: 131.3 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.1219, allocations: 188.6 kB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1219, allocations: 4 kB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004031/0.1223, allocations: 201.3 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1224, allocations: 8 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.1224, allocations: 16 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1224, allocations: 4 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1225, allocations: 27.92 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1226, allocations: 8.422 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1227, allocations: 35.59 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1227, allocations: 16 kB / 488.8 MB, free: 12.14 MB / 366.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.0001101/0.1228, allocations: 133.7 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1229, allocations: 19.75 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.1233, allocations: 142.7 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1233, allocations: 4 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1233, allocations: 0 / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1233, allocations: 0 / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1236, allocations: 225.5 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.1236, allocations: 11.94 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.1236, allocations: 7.984 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1237, allocations: 0 / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1237, allocations: 11.94 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1237, allocations: 0 / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1237, allocations: 0 / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.124, allocations: 203.3 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.1241, allocations: 96.81 kB / 489.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1241, allocations: 4 kB / 489.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1242, allocations: 7.984 kB / 489.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1243, allocations: 4 kB / 489.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1243, allocations: 4 kB / 489.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1245, allocations: 182 kB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1245, allocations: 0 / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1248, allocations: 79.88 kB / 490 MB, free: 10.93 MB / 366.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.0007696/0.1256, allocations: 0.8019 MB / 490.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.1261, allocations: 168.1 kB / 490.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1261, allocations: 4 kB / 490.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1263, allocations: 103.3 kB / 491 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1266, allocations: 23.64 kB / 491.1 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.1293, allocations: 2.382 MB / 493.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1296, allocations: 0.7358 MB / 494.2 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.327e-05/0.1297, allocations: 17.55 kB / 494.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.1298, allocations: 59.42 kB / 494.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1298, allocations: 0 / 494.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.154, allocations: 6.708 MB / 0.4892 GB, free: 15.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.47, allocations: 11.59 kB / 0.4892 GB, free: 15.9 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches