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_roundTube_KC.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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",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.0009016/0.0009019, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.522/1.522, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3209/0.3209, allocations: 43.58 MB / 315 MB, free: 9.137 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.0004828/0.0004828, allocations: 20 kB / 384.7 MB, free: 7.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 58.86 MB / 443.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002558/0.1103, allocations: 2.37 MB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1124, allocations: 1.532 MB / 447.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1125, allocations: 4 kB / 447.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1129, allocations: 107.3 kB / 447.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.1132, allocations: 111.1 kB / 447.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1136, allocations: 203.4 kB / 447.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1139, allocations: 282.1 kB / 448.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.114, allocations: 24.72 kB / 448.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.1141, allocations: 99.33 kB / 448.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1142, allocations: 123.2 kB / 448.4 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1143, allocations: 8 kB / 448.4 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.1151, allocations: 0.5851 MB / 449 MB, free: 7.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1151, allocations: 39.66 kB / 449 MB, free: 7.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1153, allocations: 160.7 kB / 449.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.1158, allocations: 0.5175 MB / 449.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1158, allocations: 0 / 449.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1158, allocations: 0 / 449.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1158, allocations: 0 / 449.7 MB, free: 6.602 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006779/0.1165, allocations: 0.5773 MB / 450.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1166, allocations: 8.031 kB / 450.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.58e-05/0.1167, allocations: 78.66 kB / 450.4 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.1167, allocations: 44.38 kB / 450.4 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.117, allocations: 251.4 kB / 450.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.117, allocations: 29.38 kB / 450.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.117, allocations: 31.94 kB / 450.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006946/0.1177, allocations: 0.588 MB / 451.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1178, allocations: 3.938 kB / 451.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1178, allocations: 20 kB / 451.3 MB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1178, allocations: 12 kB / 451.3 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.1183, allocations: 349 kB / 451.7 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.1206, allocations: 4.039 MB / 455.7 MB, free: 156 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1209, allocations: 98.45 kB / 455.8 MB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1688/0.2897, allocations: 52.95 kB / 455.9 MB, free: 47.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.993e-05/0.2898, allocations: 0 / 455.9 MB, free: 47.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.2898, allocations: 30.56 kB / 455.9 MB, free: 47.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.2898, allocations: 0 / 455.9 MB, free: 47.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006449/0.2905, allocations: 179.9 kB / 456.1 MB, free: 47.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2905, allocations: 54.38 kB / 456.1 MB, free: 47.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.2909, allocations: 413.5 kB / 456.5 MB, free: 46.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.291, allocations: 27.27 kB / 456.6 MB, free: 46.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.2911, allocations: 255.6 kB / 456.8 MB, free: 46.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.2911, allocations: 28.89 kB / 456.8 MB, free: 46.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.2912, allocations: 35.94 kB / 456.9 MB, free: 46.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.2913, allocations: 349.2 kB / 457.2 MB, free: 46.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2914, allocations: 59.89 kB / 457.3 MB, free: 46.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.2916, allocations: 271.4 kB / 457.5 MB, free: 46.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.292, allocations: 360.1 kB / 457.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.292, allocations: 6.281 kB / 457.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005177/0.2925, allocations: 366.9 kB / 458.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2926, allocations: 8.781 kB / 458.3 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2926, allocations: 6.688 kB / 458.3 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2926, allocations: 11.59 kB / 458.3 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.2931, allocations: 116.9 kB / 458.4 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004342/0.2935, allocations: 1.221 MB / 459.6 MB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.2938, allocations: 70.84 kB / 459.7 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.2938, allocations: 16.81 kB / 459.7 MB, free: 44.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.2939, allocations: 158 kB / 459.8 MB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.294, allocations: 40.5 kB / 459.9 MB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.2944, allocations: 178.5 kB / 460.1 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2944, allocations: 0 / 460.1 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2944, allocations: 2.562 kB / 460.1 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2944, allocations: 4 kB / 460.1 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2947, allocations: 272.4 kB / 460.3 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2947, allocations: 0.625 kB / 460.3 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.2949, allocations: 59.14 kB / 460.4 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2949, allocations: 3.938 kB / 460.4 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.295, allocations: 6.297 kB / 460.4 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003875/0.2953, allocations: 1.209 MB / 461.6 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2954, allocations: 0 / 461.6 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.2957, allocations: 251.1 kB / 461.9 MB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.2957, allocations: 105 kB / 462 MB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.2958, allocations: 0 / 462 MB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2959, allocations: 12.75 kB / 462 MB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.296, allocations: 8.062 kB / 462 MB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.296, allocations: 3.938 kB / 462 MB, free: 42.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.2962, allocations: 278.5 kB / 462.3 MB, free: 42.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2963, allocations: 0 / 462.3 MB, free: 42.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000531/0.2968, allocations: 117.8 kB / 462.4 MB, free: 42.68 MB / 382.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007396/0.2975, allocations: 0.8532 MB / 463.2 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.2981, allocations: 228.8 kB / 463.4 MB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2981, allocations: 0 / 463.4 MB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.2983, allocations: 77.27 kB / 463.5 MB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2988, allocations: 44.45 kB / 463.6 MB, free: 41.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.3018, allocations: 3.602 MB / 467.2 MB, free: 39.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.302, allocations: 0.768 MB / 467.9 MB, free: 39.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.3022, allocations: 40.14 kB / 468 MB, free: 39.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3023, allocations: 101.2 kB / 468.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3023, allocations: 0 / 468.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.3206, allocations: 9.349 MB / 477.4 MB, free: 38.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.3209, allocations: 285.3 kB / 477.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.263, allocations: 3.953 kB / 477.7 MB, free: 38.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches