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.0009218/0.0009216, allocations: 95.61 kB / 17.35 MB, free: 6.371 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.0009217/0.0009219, allocations: 172.7 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.27/1.27, allocations: 223.3 MB / 242.3 MB, free: 208 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.2062/0.2062, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 8 kB / 410.5 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08441, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.001825/0.08627, allocations: 1.804 MB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.08827, allocations: 1.733 MB / 475.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.08833, allocations: 4 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.08859, allocations: 87.55 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.08871, allocations: 55.48 kB / 476.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.08925, allocations: 271.1 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.0894, allocations: 163 kB / 476.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.08945, allocations: 12.31 kB / 476.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.08952, allocations: 55.66 kB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.08961, allocations: 59.59 kB / 476.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.08963, allocations: 8 kB / 476.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008879/0.09053, allocations: 0.7606 MB / 477.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.09058, allocations: 23.86 kB / 477.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.09066, allocations: 105.1 kB / 477.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.09121, allocations: 0.549 MB / 478 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09122, allocations: 0 / 478 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09123, allocations: 0 / 478 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.09124, allocations: 0 / 478 MB, free: 7.523 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.0005129/0.09176, allocations: 499.1 kB / 478.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.0918, allocations: 8.031 kB / 478.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.09185, allocations: 54.73 kB / 478.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.09189, allocations: 16.75 kB / 478.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.09204, allocations: 221.7 kB / 478.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.09206, allocations: 16.44 kB / 478.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.09209, allocations: 16 kB / 478.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.09246, allocations: 271.5 kB / 479.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.09248, allocations: 0 / 479.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.0925, allocations: 12 kB / 479.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.09252, allocations: 4 kB / 479.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.09281, allocations: 176.2 kB / 479.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/0.09361, allocations: 0.9041 MB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.09378, allocations: 66.55 kB / 480.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.0939, allocations: 36.95 kB / 480.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.09393, allocations: 7.984 kB / 480.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.09395, allocations: 30.56 kB / 480.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.09396, allocations: 0 / 480.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004035/0.09437, allocations: 153.2 kB / 480.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.0944, allocations: 51.41 kB / 480.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.09462, allocations: 270.9 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.09464, allocations: 29.7 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.09474, allocations: 183 kB / 481 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.09476, allocations: 23.66 kB / 481.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.0948, allocations: 29.7 kB / 481.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.09489, allocations: 334.8 kB / 481.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.09503, allocations: 48.2 kB / 481.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.09523, allocations: 196.1 kB / 481.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.09557, allocations: 271.6 kB / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.09558, allocations: 0 / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004274/0.09601, allocations: 265.4 kB / 482.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.09603, allocations: 8 kB / 482.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.09606, allocations: 19.98 kB / 482.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.09608, allocations: 11.88 kB / 482.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.09623, allocations: 43.92 kB / 482.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.09625, allocations: 11.98 kB / 482.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.0964, allocations: 43.84 kB / 482.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.09642, allocations: 20 kB / 482.3 MB, free: 2.84 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 9.19e-05/0.09652, allocations: 137.7 kB / 482.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.09656, allocations: 23.66 kB / 482.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.09692, allocations: 146.8 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.09693, allocations: 7.938 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.09694, allocations: 0 / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.09695, allocations: 0 / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.09714, allocations: 221.5 kB / 482.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.09717, allocations: 16 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.09723, allocations: 11.98 kB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.09723, allocations: 0 / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.09725, allocations: 0 / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.09725, allocations: 7.938 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.09726, allocations: 0 / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.09754, allocations: 215.2 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.0976, allocations: 96.81 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.09763, allocations: 8 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.09773, allocations: 7.938 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.09777, allocations: 7.984 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.09779, allocations: 8 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.09792, allocations: 182 kB / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09793, allocations: 0 / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000374/0.09831, allocations: 92 kB / 483.5 MB, free: 1.57 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.0007309/0.09905, allocations: 0.8453 MB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.09945, allocations: 208.4 kB / 484.5 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09946, allocations: 0 / 484.5 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.09965, allocations: 107.8 kB / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.09995, allocations: 24.77 kB / 484.7 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.1024, allocations: 2.604 MB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1026, allocations: 0.7323 MB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.835e-05/0.1027, allocations: 25.94 kB / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.1028, allocations: 66.45 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1028, allocations: 0 / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.018/3.12, allocations: 8.336 MB / 496.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/3.121, allocations: 287.9 kB / 496.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/5.471, allocations: 4 kB / 496.7 MB, free: 4.211 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