Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001512/0.001512, allocations: 105.1 kB / 17.33 MB, free: 5.996 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.001662/0.001662, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2049/0.2049, allocations: 44.18 MB / 336.3 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 68.95 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1174, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.0033/0.1207, allocations: 2.167 MB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1225, allocations: 1.359 MB / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1226, allocations: 4 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1229, allocations: 83.5 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1232, allocations: 51.56 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.1237, allocations: 187.3 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1239, allocations: 147 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/0.124, allocations: 16.3 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1241, allocations: 59.67 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.1242, allocations: 71.52 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1242, allocations: 0 / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.1248, allocations: 423.4 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.1248, allocations: 23.8 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.1249, allocations: 71.48 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.1254, allocations: 442.4 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1255, allocations: 0 / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1255, allocations: 0 / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1255, allocations: 0 / 473.9 MB, free: 9.504 MB / 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.0006281/0.1261, allocations: 0.4986 MB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1261, allocations: 12.03 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.1262, allocations: 50.73 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1263, allocations: 20.75 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1265, allocations: 211.6 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1265, allocations: 8.375 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.1265, allocations: 23.94 kB / 474.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.1269, allocations: 210.4 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1269, allocations: 3.938 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.127, allocations: 12 kB / 474.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.127, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.1273, allocations: 148.3 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.1281, allocations: 0.5713 MB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1284, allocations: 66.55 kB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1285, allocations: 32.94 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.1286, allocations: 7.938 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1286, allocations: 30.56 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1286, allocations: 0 / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004404/0.129, allocations: 137.3 kB / 475.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1291, allocations: 51.41 kB / 476 MB, free: 7.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1293, allocations: 258.6 kB / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1293, allocations: 25.7 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1295, allocations: 163.7 kB / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1295, allocations: 23.72 kB / 476.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.1295, allocations: 45.61 kB / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1297, allocations: 334.8 kB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1298, allocations: 35.97 kB / 476.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.13, allocations: 135 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1303, allocations: 180.7 kB / 477.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1303, allocations: 0 / 477.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003931/0.1307, allocations: 201.5 kB / 477.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1307, allocations: 8 kB / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.1308, allocations: 12 kB / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1308, allocations: 8 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.131, allocations: 27.92 kB / 477.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.131, allocations: 4 kB / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1311, allocations: 35.58 kB / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.1312, allocations: 16 kB / 477.5 MB, free: 5.625 MB / 350.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.0001187/0.1313, allocations: 133.8 kB / 477.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1313, allocations: 19.8 kB / 477.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.1317, allocations: 142.8 kB / 477.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1317, allocations: 4 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1318, allocations: 8 kB / 477.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1318, allocations: 0 / 477.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.132, allocations: 221.5 kB / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.132, allocations: 8 kB / 478 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.1321, allocations: 4 kB / 478 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1321, allocations: 0 / 478 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1321, allocations: 11.92 kB / 478 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1321, allocations: 0 / 478 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1321, allocations: 0 / 478 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1324, allocations: 207.3 kB / 478.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.1325, allocations: 104.7 kB / 478.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.1325, allocations: 192 / 478.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1327, allocations: 4 kB / 478.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.1327, allocations: 11.97 kB / 478.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1327, allocations: 4 kB / 478.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1329, allocations: 182 kB / 478.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1329, allocations: 0 / 478.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003944/0.1333, allocations: 83.86 kB / 478.6 MB, free: 4.398 MB / 350.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.0008411/0.1341, allocations: 0.7947 MB / 479.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.1346, allocations: 171.2 kB / 479.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1346, allocations: 0 / 479.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.1348, allocations: 108.2 kB / 479.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1352, allocations: 20.89 kB / 479.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.1381, allocations: 2.437 MB / 482.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1385, allocations: 0.732 MB / 482.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.1385, allocations: 13.55 kB / 482.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.1386, allocations: 59.42 kB / 482.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1386, allocations: 0 / 482.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.158, allocations: 6.515 MB / 489.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.1583, allocations: 291 kB / 489.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.202, allocations: 0 / 489.7 MB, free: 9.191 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches