Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001661/0.001661, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002285/0.002285, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 78.69 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004342/0.1298, allocations: 2.691 MB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1323, allocations: 1.472 MB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1324, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1329, allocations: 107.2 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.1333, allocations: 142.8 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.134, allocations: 259.1 kB / 484.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.1344, allocations: 282.1 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.1344, allocations: 28.67 kB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1346, allocations: 95.34 kB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1348, allocations: 123.2 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1348, allocations: 8 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1359, allocations: 0.6124 MB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.136, allocations: 39.66 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1361, allocations: 131 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.1368, allocations: 0.5527 MB / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1368, allocations: 0 / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1369, allocations: 0 / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1369, allocations: 0 / 486.7 MB, free: 14.63 MB / 366.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.0008557/0.1377, allocations: 0.6239 MB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1378, allocations: 8.031 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.1379, allocations: 82.7 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.138, allocations: 44.38 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1383, allocations: 247.7 kB / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1383, allocations: 25.38 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.1383, allocations: 39.92 kB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.1391, allocations: 0.5726 MB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1391, allocations: 7.938 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1392, allocations: 24 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.1392, allocations: 11.98 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.1397, allocations: 329 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.1421, allocations: 4.051 MB / 492.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1424, allocations: 98.47 kB / 492.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1426, allocations: 32.97 kB / 492.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.1426, allocations: 0 / 492.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1426, allocations: 34.56 kB / 492.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1426, allocations: 0 / 492.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005405/0.1432, allocations: 169.2 kB / 493 MB, free: 7.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1432, allocations: 51.41 kB / 493.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.1437, allocations: 413.7 kB / 493.5 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1437, allocations: 25.7 kB / 493.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.1439, allocations: 251 kB / 493.8 MB, free: 7.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.1439, allocations: 35.56 kB / 493.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.144, allocations: 69.94 kB / 493.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1442, allocations: 354.7 kB / 494.2 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1444, allocations: 56.61 kB / 494.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.1447, allocations: 266.4 kB / 494.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.1451, allocations: 352.2 kB / 494.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1452, allocations: 0 / 494.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006106/0.1458, allocations: 353.2 kB / 495.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1458, allocations: 10.66 kB / 495.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1458, allocations: 15.94 kB / 495.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.1459, allocations: 12 kB / 495.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.1463, allocations: 103.9 kB / 495.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000672/0.147, allocations: 1.223 MB / 496.6 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.1473, allocations: 67.27 kB / 496.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.1473, allocations: 20 kB / 496.7 MB, free: 3.867 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.0001556/0.1475, allocations: 153.6 kB / 496.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.1476, allocations: 39.47 kB / 496.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.148, allocations: 169 kB / 497 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.148, allocations: 0 / 497 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.148, allocations: 4 kB / 497 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.148, allocations: 0 / 497 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.1483, allocations: 277.4 kB / 497.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1483, allocations: 4 kB / 497.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.1486, allocations: 55.92 kB / 497.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.1486, allocations: 11.98 kB / 497.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1486, allocations: 0 / 497.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006173/0.1493, allocations: 1.207 MB / 498.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1493, allocations: 0 / 498.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1496, allocations: 231.1 kB / 498.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.1497, allocations: 112.6 kB / 498.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.1498, allocations: 7.938 kB / 498.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1499, allocations: 4 kB / 498.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.15, allocations: 12.08 kB / 498.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.15, allocations: 3.984 kB / 498.9 MB, free: 1.445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1503, allocations: 279.1 kB / 499.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1503, allocations: 0 / 499.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007783/0.1511, allocations: 108 kB / 499.3 MB, free: 1.07 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.0009184/0.152, allocations: 0.853 MB / 0.4884 GB, free: 196 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009029/0.1529, allocations: 213.3 kB / 0.4886 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1529, allocations: 0 / 0.4886 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.1532, allocations: 84.09 kB / 0.4887 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1537, allocations: 41.52 kB / 0.4888 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.1579, allocations: 3.467 MB / 0.4922 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1583, allocations: 0.7639 MB / 0.4929 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.1585, allocations: 42.95 kB / 0.4929 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1586, allocations: 103.4 kB / 0.493 GB, free: 11.19 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1586, allocations: 0 / 0.493 GB, free: 11.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.1919, allocations: 9.936 MB / 0.5027 GB, free: 1.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.84, allocations: 8.328 kB / 0.5027 GB, free: 1.461 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.csv","/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches