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.001203/0.001203, allocations: 104 kB / 17.63 MB, free: 5.523 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.00118/0.00118, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.37/1.37, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.1982/0.1982, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.7 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1093, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003109/0.1125, allocations: 2.1 MB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1148, allocations: 1.655 MB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.1149, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1153, allocations: 99.41 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1155, allocations: 59.44 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.1163, allocations: 346.7 kB / 473.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1165, allocations: 147 kB / 473.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.1165, allocations: 20.3 kB / 473.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.1166, allocations: 59.61 kB / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1168, allocations: 59.59 kB / 473.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1168, allocations: 4 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1179, allocations: 0.7568 MB / 474.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.118, allocations: 27.8 kB / 474.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.1181, allocations: 75.47 kB / 474.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008295/0.1189, allocations: 0.5646 MB / 475.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1189, allocations: 0 / 475.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.119, allocations: 0 / 475.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.119, allocations: 0 / 475.3 MB, free: 8.273 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.0008074/0.1198, allocations: 0.503 MB / 475.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1198, allocations: 8.031 kB / 475.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.1199, allocations: 54.73 kB / 475.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.12, allocations: 28.59 kB / 475.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1202, allocations: 216.3 kB / 476.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1202, allocations: 16.38 kB / 476.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.1203, allocations: 20 kB / 476.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1207, allocations: 267.4 kB / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1208, allocations: 0 / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1208, allocations: 8 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1208, allocations: 4 kB / 476.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.1211, allocations: 156.2 kB / 476.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1222, allocations: 0.908 MB / 477.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1224, allocations: 66.5 kB / 477.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1225, allocations: 32.94 kB / 477.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.1226, allocations: 4 kB / 477.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1226, allocations: 30.56 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1226, allocations: 0 / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004453/0.123, allocations: 141.3 kB / 477.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1231, allocations: 59.34 kB / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.1234, allocations: 266.9 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1234, allocations: 25.7 kB / 478.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1235, allocations: 183 kB / 478.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1236, allocations: 27.64 kB / 478.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.1236, allocations: 49.7 kB / 478.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1237, allocations: 330.8 kB / 478.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1239, allocations: 48.2 kB / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.1242, allocations: 182.1 kB / 478.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.1245, allocations: 255.4 kB / 479.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1245, allocations: 0 / 479.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005347/0.1251, allocations: 260.8 kB / 479.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1251, allocations: 8 kB / 479.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.1251, allocations: 12.69 kB / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1252, allocations: 12.03 kB / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.1253, allocations: 47.91 kB / 479.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.1254, allocations: 11.94 kB / 479.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1255, allocations: 47.56 kB / 479.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1256, allocations: 16 kB / 479.6 MB, free: 3.625 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.0001084/0.1257, allocations: 141.6 kB / 479.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.1257, allocations: 19.72 kB / 479.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.1261, allocations: 138.8 kB / 479.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1261, allocations: 7.938 kB / 479.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1261, allocations: 0 / 479.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1261, allocations: 0 / 479.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1263, allocations: 225.5 kB / 480.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.1264, allocations: 11.94 kB / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.1264, allocations: 4 kB / 480.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1264, allocations: 0 / 480.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1265, allocations: 12.17 kB / 480.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1265, allocations: 7.938 kB / 480.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1265, allocations: 0 / 480.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.1268, allocations: 203.2 kB / 480.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.1268, allocations: 92.91 kB / 480.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1269, allocations: 0 / 480.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.127, allocations: 7.938 kB / 480.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.127, allocations: 7.984 kB / 480.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.127, allocations: 4 kB / 480.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1272, allocations: 185.9 kB / 480.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1272, allocations: 0 / 480.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000474/0.1277, allocations: 99.91 kB / 480.7 MB, free: 2.375 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.000862/0.1285, allocations: 0.8215 MB / 481.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.1291, allocations: 200 kB / 481.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1291, allocations: 0 / 481.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.1293, allocations: 95.81 kB / 481.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1296, allocations: 36.75 kB / 481.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.1329, allocations: 2.504 MB / 484.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1333, allocations: 0.7323 MB / 485.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1334, allocations: 25.94 kB / 485.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.1335, allocations: 55.42 kB / 485.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1335, allocations: 0 / 485.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.1651, allocations: 8.697 MB / 493.9 MB, free: 5.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.95, allocations: 12.25 kB / 493.9 MB, free: 5.125 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