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_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 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_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.0009495/0.0009496, allocations: 98.92 kB / 17.35 MB, free: 6.367 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.001093/0.001093, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.301/1.301, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1918/0.1918, allocations: 44.26 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 8 kB / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08324, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002221/0.0855, allocations: 2.362 MB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.08728, allocations: 1.496 MB / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.08737, allocations: 0 / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.08763, allocations: 103.4 kB / 476.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.08792, allocations: 115 kB / 476.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.08829, allocations: 207.4 kB / 476.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.08853, allocations: 270.2 kB / 476.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.08859, allocations: 28.67 kB / 476.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.08868, allocations: 103.3 kB / 477 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.08883, allocations: 123.2 kB / 477.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.08886, allocations: 8 kB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007122/0.08958, allocations: 0.5812 MB / 477.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.08964, allocations: 51.58 kB / 477.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.08975, allocations: 156.7 kB / 478 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.09024, allocations: 0.5253 MB / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.09025, allocations: 0 / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09026, allocations: 0 / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.09027, allocations: 4 kB / 478.5 MB, free: 7.102 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0005632/0.09084, allocations: 0.5616 MB / 479.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.09088, allocations: 8.031 kB / 479.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.09094, allocations: 74.72 kB / 479.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.091, allocations: 40.47 kB / 479.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.09119, allocations: 247.7 kB / 479.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.09122, allocations: 29.31 kB / 479.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.09126, allocations: 39.94 kB / 479.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.09185, allocations: 0.5804 MB / 480.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.09187, allocations: 7.938 kB / 480.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.09191, allocations: 20 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.09192, allocations: 12 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.09239, allocations: 337.1 kB / 480.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.09427, allocations: 4.047 MB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.09451, allocations: 94.53 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.09464, allocations: 44.91 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.09468, allocations: 11.92 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.0947, allocations: 38.55 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.09471, allocations: 0 / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004657/0.09518, allocations: 177.2 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.09521, allocations: 55.41 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.09556, allocations: 409.9 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.09559, allocations: 25.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.09572, allocations: 254.9 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.09575, allocations: 31.64 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.0958, allocations: 37.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.0959, allocations: 354.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.09607, allocations: 68.55 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.09632, allocations: 262.4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.09675, allocations: 367.8 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.09676, allocations: 4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005508/0.09732, allocations: 361 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.09734, allocations: 8 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.09735, allocations: 8 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.09737, allocations: 8 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.09779, allocations: 116.6 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005481/0.09835, allocations: 1.223 MB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.09861, allocations: 71.45 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.09864, allocations: 28 kB / 488.5 MB, free: 12.35 MB / 366.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.0001131/0.09876, allocations: 145.7 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.09882, allocations: 39.47 kB / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.09922, allocations: 184.9 kB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.09924, allocations: 0 / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09925, allocations: 0 / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.09925, allocations: 0 / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.09951, allocations: 285.4 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09951, allocations: 0 / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.09977, allocations: 59.91 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.09979, allocations: 0 / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.0998, allocations: 0 / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004981/0.1003, allocations: 1.207 MB / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1003, allocations: 0 / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1006, allocations: 255 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.1007, allocations: 108.6 kB / 490.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1008, allocations: 11.94 kB / 490.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1009, allocations: 7.984 kB / 490.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.101, allocations: 4 kB / 490.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.101, allocations: 7.984 kB / 490.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.1012, allocations: 271.2 kB / 491 MB, free: 9.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1012, allocations: 0 / 491 MB, free: 9.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.1016, allocations: 112 kB / 491.1 MB, free: 9.535 MB / 366.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.000734/0.1024, allocations: 0.8568 MB / 492 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000511/0.1029, allocations: 209.6 kB / 492.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1029, allocations: 4 kB / 492.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.1032, allocations: 87.89 kB / 492.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1035, allocations: 33.95 kB / 492.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.1069, allocations: 3.604 MB / 495.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1071, allocations: 0.7678 MB / 496.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.1073, allocations: 38.95 kB / 496.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1074, allocations: 110 kB / 496.8 MB, free: 3.512 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1074, allocations: 0 / 496.8 MB, free: 3.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.428/2.536, allocations: 9.365 MB / 0.4943 GB, free: 10.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/2.536, allocations: 283.1 kB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/4.545, allocations: 0 / 0.4946 GB, free: 10.05 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches