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_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001133/0.001133, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.001155/0.001155, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.382/1.382, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2202/0.2202, allocations: 44.17 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 57 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09757, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003846/0.1015, allocations: 2.155 MB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.1041, allocations: 1.674 MB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1043, allocations: 4 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.1047, allocations: 87.55 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1048, allocations: 47.56 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008667/0.1057, allocations: 307 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.106, allocations: 139.1 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.1061, allocations: 12.31 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.1061, allocations: 59.59 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.1062, allocations: 63.66 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.1063, allocations: 4 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.1076, allocations: 0.7567 MB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1076, allocations: 27.8 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.1077, allocations: 75.48 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1087, allocations: 0.5569 MB / 474.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1088, allocations: 3.938 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1088, allocations: 4 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1088, allocations: 0 / 474.8 MB, free: 8.602 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007106/0.1095, allocations: 0.5108 MB / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1095, allocations: 8.031 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.1096, allocations: 58.67 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.1097, allocations: 20.66 kB / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1099, allocations: 218.7 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1099, allocations: 16.44 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1099, allocations: 16 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1104, allocations: 271.4 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1104, allocations: 0 / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1104, allocations: 12 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1104, allocations: 4 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.1108, allocations: 156.2 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1118, allocations: 0.908 MB / 477 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1121, allocations: 70.47 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1122, allocations: 32.94 kB / 477.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.1122, allocations: 0 / 477.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1123, allocations: 30.56 kB / 477.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1123, allocations: 4 kB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004523/0.1127, allocations: 137.3 kB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.1128, allocations: 55.41 kB / 477.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.113, allocations: 266.9 kB / 477.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1131, allocations: 25.7 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1132, allocations: 183 kB / 477.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1132, allocations: 31.58 kB / 477.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.1133, allocations: 45.7 kB / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1134, allocations: 330.8 kB / 478.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1136, allocations: 48.19 kB / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1139, allocations: 188.2 kB / 478.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.1144, allocations: 263.6 kB / 478.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1144, allocations: 0 / 478.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005767/0.115, allocations: 260.8 kB / 478.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.115, allocations: 4 kB / 478.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.115, allocations: 16 kB / 478.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1151, allocations: 8.625 kB / 478.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.1152, allocations: 55.91 kB / 479 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1153, allocations: 11.94 kB / 479 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.1154, allocations: 35.58 kB / 479 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1155, allocations: 23.94 kB / 479.1 MB, free: 3.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001097/0.1156, allocations: 129.7 kB / 479.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.1157, allocations: 23.72 kB / 479.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.1161, allocations: 138.9 kB / 479.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1161, allocations: 3.938 kB / 479.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1161, allocations: 0 / 479.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1161, allocations: 0 / 479.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.1164, allocations: 225.4 kB / 479.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.1164, allocations: 16 kB / 479.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1165, allocations: 11.98 kB / 479.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1165, allocations: 0 / 479.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1165, allocations: 0 / 479.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1165, allocations: 3.938 kB / 479.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1165, allocations: 0 / 479.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1169, allocations: 207.2 kB / 479.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.117, allocations: 92.92 kB / 479.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1171, allocations: 0 / 479.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1172, allocations: 15.92 kB / 479.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.1173, allocations: 8 kB / 479.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1173, allocations: 0 / 479.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.1175, allocations: 182 kB / 480.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1175, allocations: 0 / 480.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.118, allocations: 103.9 kB / 480.2 MB, free: 2.691 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.001076/0.1191, allocations: 0.8337 MB / 481 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.1196, allocations: 192.4 kB / 481.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1197, allocations: 0 / 481.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1199, allocations: 99.38 kB / 481.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1203, allocations: 33.23 kB / 481.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.1235, allocations: 2.538 MB / 483.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.1239, allocations: 0.7323 MB / 484.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.922e-05/0.124, allocations: 29.92 kB / 484.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1242, allocations: 55.42 kB / 484.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1242, allocations: 0 / 484.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.1468, allocations: 8.559 MB / 493.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.1471, allocations: 288.2 kB / 493.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.403, allocations: 0 / 493.5 MB, free: 5.203 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches