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_flatTube_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_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001321/0.001321, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001432/0.001432, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.216/1.216, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1845/0.1845, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001325/0.001325, allocations: 66.11 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08042/0.08176, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002474/0.08425, allocations: 2.174 MB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.0853, allocations: 1.099 MB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.08539, allocations: 0 / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.08563, allocations: 87.44 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.08585, allocations: 83.33 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.08606, allocations: 119.5 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.08619, allocations: 174.9 kB / 444.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.08624, allocations: 24.33 kB / 444.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.08634, allocations: 75.53 kB / 444.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.08644, allocations: 83.5 kB / 444.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.08646, allocations: 8 kB / 444.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.08676, allocations: 267.5 kB / 444.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.08681, allocations: 19.86 kB / 444.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.08687, allocations: 87.41 kB / 444.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.08715, allocations: 326.7 kB / 445.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.08716, allocations: 0 / 445.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.08716, allocations: 0 / 445.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.08717, allocations: 0 / 445.2 MB, free: 2.152 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00041/0.08759, allocations: 0.499 MB / 445.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.08762, allocations: 12.03 kB / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.08766, allocations: 50.73 kB / 445.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.08771, allocations: 28.64 kB / 445.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.08783, allocations: 221.9 kB / 446.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.08785, allocations: 12.81 kB / 446.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.08788, allocations: 27.94 kB / 446.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.08818, allocations: 227.2 kB / 446.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.0882, allocations: 0 / 446.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.08822, allocations: 8 kB / 446.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.08823, allocations: 4 kB / 446.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.08856, allocations: 253.5 kB / 446.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.08924, allocations: 0.6234 MB / 447.2 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.0895, allocations: 94.56 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.08964, allocations: 44.98 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.08967, allocations: 3.938 kB / 447.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.0897, allocations: 38.56 kB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.08971, allocations: 4 kB / 447.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004678/0.09018, allocations: 165.3 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.09022, allocations: 51.41 kB / 447.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.09044, allocations: 270.9 kB / 447.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.09047, allocations: 33.7 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.09056, allocations: 167.3 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.09059, allocations: 35.55 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.09066, allocations: 46.08 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.09077, allocations: 338.8 kB / 448.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.09091, allocations: 43.97 kB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.09111, allocations: 145.7 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.09145, allocations: 216.5 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.09146, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004277/0.09189, allocations: 237 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.09191, allocations: 8 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.09193, allocations: 7.984 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.09194, allocations: 4 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.0923, allocations: 87.89 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005921/0.0929, allocations: 1.215 MB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.09309, allocations: 39.58 kB / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.09311, allocations: 12 kB / 450.5 MB, free: 12.57 MB / 334.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 (25): * Single equations (assignments): 23 * 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.0001174/0.09324, allocations: 142.2 kB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.09329, allocations: 23.72 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.09371, allocations: 171.2 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.09372, allocations: 4 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.09373, allocations: 4 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.09374, allocations: 0 / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.09431, allocations: 448 kB / 451.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.09432, allocations: 4 kB / 451.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.09458, allocations: 59.91 kB / 451.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.09459, allocations: 0 / 451.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.09461, allocations: 12.06 kB / 451.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005547/0.09517, allocations: 1.207 MB / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.09518, allocations: 0 / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.09554, allocations: 249 kB / 452.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.09561, allocations: 104.8 kB / 452.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.09565, allocations: 0 / 452.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.0958, allocations: 11.98 kB / 452.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.09585, allocations: 8 kB / 452.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.09587, allocations: 4 kB / 452.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.09602, allocations: 193.9 kB / 453.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09602, allocations: 0 / 453.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.09637, allocations: 67.98 kB / 453.1 MB, free: 9.723 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0007222/0.0971, allocations: 0.8271 MB / 454 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.09764, allocations: 167.8 kB / 454.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.09765, allocations: 0 / 454.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.09794, allocations: 88.89 kB / 454.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.0983, allocations: 29.03 kB / 454.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.101, allocations: 2.567 MB / 456.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1013, allocations: 0.7362 MB / 457.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.881e-05/0.1014, allocations: 21.98 kB / 457.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.1015, allocations: 63.41 kB / 457.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1015, allocations: 0 / 457.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5483/0.6498, allocations: 6.023 MB / 463.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.62, allocations: 448 / 463.7 MB, free: 15.04 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches