Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00116/0.00116, 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.001231/0.001231, 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.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002885/0.002885, allocations: 77.41 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1518, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004288/0.1561, allocations: 2.107 MB / 482.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1589, allocations: 1.725 MB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.159, allocations: 0 / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1595, allocations: 91.42 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.1597, allocations: 63.42 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1607, allocations: 354.7 kB / 484.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1609, allocations: 147 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.161, allocations: 12.31 kB / 484.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.1611, allocations: 51.73 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1612, allocations: 63.58 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1613, allocations: 4 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.1627, allocations: 0.7802 MB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.1628, allocations: 31.83 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1629, allocations: 79.44 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.1638, allocations: 0.588 MB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1639, allocations: 0 / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1639, allocations: 0 / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1639, allocations: 4 kB / 486.2 MB, free: 15.07 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008148/0.1647, allocations: 0.5054 MB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1648, allocations: 8.031 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.1648, allocations: 54.73 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1649, allocations: 24.66 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1651, allocations: 227.7 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1651, allocations: 16.44 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.1652, allocations: 16 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.1657, allocations: 259.5 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1657, allocations: 3.938 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1657, allocations: 12 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1657, allocations: 8 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.166, allocations: 157.3 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1671, allocations: 0.9002 MB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1673, allocations: 66.53 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1674, allocations: 28.95 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1675, allocations: 3.984 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1675, allocations: 38.56 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/0.1675, allocations: 0 / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.00049/0.168, allocations: 137.2 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.168, allocations: 55.41 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1683, allocations: 270.8 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1683, allocations: 25.7 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1685, allocations: 183.1 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1685, allocations: 15.73 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.1686, allocations: 57.61 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1688, allocations: 330.8 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1689, allocations: 44.2 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1692, allocations: 184.7 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.1696, allocations: 259.4 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1696, allocations: 4 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005018/0.1701, allocations: 261.3 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1702, allocations: 10.66 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.1702, allocations: 15.98 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1702, allocations: 11.94 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1704, allocations: 40.11 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1704, allocations: 15.98 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.1706, allocations: 39.59 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.1706, allocations: 16 kB / 490.5 MB, free: 10.43 MB / 366.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 0.0001318/0.1708, allocations: 145.9 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.1708, allocations: 19.72 kB / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.1712, allocations: 134.9 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1713, allocations: 3.938 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1713, allocations: 0 / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1713, allocations: 4 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.1715, allocations: 225.5 kB / 491 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.1715, allocations: 12 kB / 491 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.1716, allocations: 7.984 kB / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1716, allocations: 0 / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1716, allocations: 4 kB / 491 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1716, allocations: 7.938 kB / 491 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1716, allocations: 0 / 491 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.172, allocations: 203.2 kB / 491.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.172, allocations: 92.91 kB / 491.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1721, allocations: 0 / 491.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1722, allocations: 7.938 kB / 491.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.1722, allocations: 11.98 kB / 491.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1723, allocations: 11.94 kB / 491.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1724, allocations: 178 kB / 491.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 0 / 491.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005122/0.1729, allocations: 104 kB / 491.6 MB, free: 9.176 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 (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.001103/0.174, allocations: 0.837 MB / 492.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.1746, allocations: 192.5 kB / 492.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1746, allocations: 8 kB / 492.7 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1748, allocations: 91.38 kB / 492.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1753, allocations: 36.44 kB / 492.8 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.1788, allocations: 2.507 MB / 495.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1792, allocations: 0.7323 MB / 496 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1793, allocations: 29.92 kB / 496 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.1794, allocations: 59.42 kB / 496.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1794, allocations: 4 kB / 496.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.2124, allocations: 8.903 MB / 0.4932 GB, free: 11.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.55, allocations: 12.19 kB / 0.4932 GB, free: 11.69 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches