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.001224/0.001224, allocations: 96.14 kB / 15.87 MB, free: 16 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.001027/0.001027, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.356/1.356, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.314/0.314, allocations: 43.49 MB / 313.5 MB, free: 8.309 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.001463/0.001463, allocations: 63.91 kB / 382.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003676/0.1059, allocations: 2.724 MB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1083, allocations: 1.567 MB / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.1085, allocations: 0 / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.1089, allocations: 107.3 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.1093, allocations: 115 kB / 444.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.1098, allocations: 203.4 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.1101, allocations: 270.2 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.1102, allocations: 28.72 kB / 444.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1103, allocations: 103.3 kB / 445 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1105, allocations: 127.2 kB / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1105, allocations: 4 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.1114, allocations: 0.5812 MB / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.1114, allocations: 51.58 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1116, allocations: 131 kB / 445.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.1121, allocations: 0.5254 MB / 446.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1121, allocations: 0 / 446.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1121, allocations: 0 / 446.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1121, allocations: 0 / 446.4 MB, free: 7.961 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.0006508/0.1128, allocations: 0.6239 MB / 447.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1128, allocations: 12.03 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.1129, allocations: 70.72 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.1129, allocations: 36.47 kB / 447.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1132, allocations: 259.3 kB / 447.4 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1132, allocations: 25.38 kB / 447.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1133, allocations: 43.88 kB / 447.5 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.1138, allocations: 0.5762 MB / 448.1 MB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1139, allocations: 11.94 kB / 448.1 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1139, allocations: 24 kB / 448.1 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1139, allocations: 12 kB / 448.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.1144, allocations: 325.1 kB / 448.4 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.1164, allocations: 4.047 MB / 452.5 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1166, allocations: 86.55 kB / 452.6 MB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1167, allocations: 36.95 kB / 452.6 MB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1168, allocations: 7.938 kB / 452.6 MB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1168, allocations: 34.56 kB / 452.7 MB, free: 1.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1168, allocations: 0 / 452.7 MB, free: 1.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004729/0.1173, allocations: 169.1 kB / 452.8 MB, free: 1.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1173, allocations: 59.41 kB / 452.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.1177, allocations: 401.8 kB / 453.3 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1177, allocations: 37.69 kB / 453.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1178, allocations: 239 kB / 453.5 MB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1178, allocations: 39.62 kB / 453.6 MB, free: 336 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.1179, allocations: 69.88 kB / 453.6 MB, free: 260 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1723/0.2902, allocations: 354.7 kB / 454 MB, free: 49.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2905, allocations: 56.25 kB / 454 MB, free: 49.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2907, allocations: 262.5 kB / 454.3 MB, free: 49.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2911, allocations: 352.4 kB / 454.6 MB, free: 48.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2911, allocations: 2.656 kB / 454.7 MB, free: 48.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006019/0.2917, allocations: 353 kB / 455 MB, free: 48.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2917, allocations: 8.406 kB / 455 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2917, allocations: 8.812 kB / 455 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2918, allocations: 8.812 kB / 455 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.2922, allocations: 112.7 kB / 455.1 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004308/0.2927, allocations: 1.224 MB / 456.4 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.2929, allocations: 60.47 kB / 456.4 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.293, allocations: 26.5 kB / 456.4 MB, free: 47.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.000121/0.2931, allocations: 150.8 kB / 456.6 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.2931, allocations: 34.28 kB / 456.6 MB, free: 47.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.2935, allocations: 164.7 kB / 456.8 MB, free: 47.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2935, allocations: 2.844 kB / 456.8 MB, free: 47.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2936, allocations: 0.75 kB / 456.8 MB, free: 47.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2936, allocations: 4 kB / 456.8 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.2938, allocations: 283.3 kB / 457.1 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2938, allocations: 0 / 457.1 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.2941, allocations: 57.59 kB / 457.1 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2941, allocations: 2.938 kB / 457.1 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2941, allocations: 2 kB / 457.1 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003544/0.2945, allocations: 1.203 MB / 458.3 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2945, allocations: 6.719 kB / 458.3 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.2947, allocations: 244 kB / 458.6 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.2948, allocations: 106 kB / 458.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.2949, allocations: 6.328 kB / 458.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.295, allocations: 10.75 kB / 458.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.2951, allocations: 5.766 kB / 458.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.2951, allocations: 3.312 kB / 458.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.2953, allocations: 275.1 kB / 459 MB, free: 45.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2953, allocations: 0 / 459 MB, free: 45.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.2958, allocations: 115.6 kB / 459.1 MB, free: 45.74 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.0006646/0.2964, allocations: 0.8454 MB / 459.9 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.2969, allocations: 206.5 kB / 460.1 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2969, allocations: 4 kB / 460.1 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.2972, allocations: 79.61 kB / 460.2 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2976, allocations: 41.25 kB / 460.3 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.3007, allocations: 3.553 MB / 463.8 MB, free: 42.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3008, allocations: 0.7653 MB / 464.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.301, allocations: 43.67 kB / 464.6 MB, free: 42.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3011, allocations: 101 kB / 464.7 MB, free: 42.21 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3011, allocations: 0 / 464.7 MB, free: 42.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.3193, allocations: 9.465 MB / 474.2 MB, free: 41.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.3195, allocations: 279.4 kB / 474.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.402, allocations: 0 / 474.5 MB, free: 41.09 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