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_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 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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001538/0.001538, allocations: 103 kB / 16.27 MB, free: 5.93 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.001872/0.001872, allocations: 188.9 kB / 17.2 MB, free: 5.574 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.416/1.416, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2201/0.2201, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001487/0.001487, allocations: 67.73 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 57.78 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003699/0.1243, allocations: 2.68 MB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1263, allocations: 1.457 MB / 444.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1265, allocations: 4 kB / 444.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1268, allocations: 115.2 kB / 444.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1272, allocations: 134.9 kB / 445 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.1276, allocations: 266.9 kB / 445.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1279, allocations: 274.1 kB / 445.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.1279, allocations: 24.73 kB / 445.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.128, allocations: 103.3 kB / 445.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1282, allocations: 123.2 kB / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1282, allocations: 8 kB / 445.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.1289, allocations: 0.5812 MB / 446.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.129, allocations: 35.72 kB / 446.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1291, allocations: 138.9 kB / 446.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.1297, allocations: 0.5293 MB / 447.1 MB, free: 308 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1297, allocations: 3.984 kB / 447.1 MB, free: 304 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1297, allocations: 0 / 447.1 MB, free: 304 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1297, allocations: 4 kB / 447.1 MB, free: 300 kB / 318.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.0009673/0.1307, allocations: 0.6212 MB / 447.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.1308, allocations: 8.031 kB / 447.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.917e-05/0.1309, allocations: 74.72 kB / 447.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.131, allocations: 40.47 kB / 447.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1313, allocations: 259.1 kB / 448.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1313, allocations: 25.38 kB / 448.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.1314, allocations: 39.94 kB / 448.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.1322, allocations: 0.5724 MB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1322, allocations: 11.94 kB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.1323, allocations: 16 kB / 448.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.1323, allocations: 12 kB / 448.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.1329, allocations: 333 kB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.1356, allocations: 4.051 MB / 453.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1359, allocations: 90.52 kB / 453.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1361, allocations: 40.95 kB / 453.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1361, allocations: 0 / 453.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1362, allocations: 38.5 kB / 453.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1362, allocations: 0 / 453.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005518/0.1367, allocations: 165.2 kB / 453.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1368, allocations: 55.39 kB / 453.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.1372, allocations: 409.7 kB / 453.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1372, allocations: 25.7 kB / 453.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1374, allocations: 251.1 kB / 454.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1374, allocations: 27.64 kB / 454.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1376, allocations: 73.84 kB / 454.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1377, allocations: 350.7 kB / 454.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1379, allocations: 60.61 kB / 454.7 MB, free: 8.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.1382, allocations: 270.3 kB / 455 MB, free: 7.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.1388, allocations: 355.8 kB / 455.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1388, allocations: 0 / 455.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006698/0.1395, allocations: 353.4 kB / 455.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1395, allocations: 11.94 kB / 455.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1395, allocations: 8 kB / 455.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.1395, allocations: 8 kB / 455.7 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.1401, allocations: 111.8 kB / 455.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007358/0.1408, allocations: 1.227 MB / 457 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.1411, allocations: 59.36 kB / 457.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1412, allocations: 20 kB / 457.1 MB, free: 5.539 MB / 334.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.0001353/0.1413, allocations: 157.1 kB / 457.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.1414, allocations: 43.47 kB / 457.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.1418, allocations: 165 kB / 457.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1418, allocations: 0 / 457.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1418, allocations: 3.984 kB / 457.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1418, allocations: 4 kB / 457.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.1422, allocations: 281.4 kB / 457.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1422, allocations: 0 / 457.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.1425, allocations: 51.97 kB / 457.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1425, allocations: 0 / 457.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1425, allocations: 8 kB / 457.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007123/0.1432, allocations: 1.207 MB / 459 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1432, allocations: 0 / 459 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1436, allocations: 235 kB / 459.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1437, allocations: 104.6 kB / 459.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.1438, allocations: 7.938 kB / 459.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.144, allocations: 12.08 kB / 459.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.144, allocations: 11.98 kB / 459.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.144, allocations: 0 / 459.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.1443, allocations: 275.1 kB / 459.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1443, allocations: 0 / 459.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005466/0.1449, allocations: 111.9 kB / 459.7 MB, free: 2.742 MB / 334.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.0009202/0.1458, allocations: 0.851 MB / 460.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006101/0.1464, allocations: 201.1 kB / 460.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1464, allocations: 0.5 kB / 460.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.1467, allocations: 87.88 kB / 460.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1471, allocations: 41.89 kB / 460.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.1512, allocations: 3.464 MB / 464.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1515, allocations: 0.7717 MB / 465.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.1517, allocations: 42.95 kB / 465.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1518, allocations: 103.4 kB / 465.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1518, allocations: 0 / 465.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.1833, allocations: 9.757 MB / 475 MB, free: 3.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.69, allocations: 8.188 kB / 475.1 MB, free: 3.156 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches