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.001375/0.001375, allocations: 111.9 kB / 17.33 MB, free: 6.012 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.001641/0.001641, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.317/1.317, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.18 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.28 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004033/0.1166, allocations: 2.713 MB / 471.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1189, allocations: 1.449 MB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.1192, allocations: 4 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.1196, allocations: 95.41 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.12, allocations: 119.1 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.1206, allocations: 223.3 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.1209, allocations: 278.1 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.705e-05/0.121, allocations: 32.61 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1211, allocations: 91.41 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1212, allocations: 127.2 kB / 473.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1213, allocations: 8 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008067/0.1221, allocations: 0.5851 MB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.1222, allocations: 47.66 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1223, allocations: 131 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.1229, allocations: 0.5332 MB / 475.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1229, allocations: 4 kB / 475.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1229, allocations: 0 / 475.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1229, allocations: 0 / 475.3 MB, free: 8.164 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.0007413/0.1236, allocations: 0.6162 MB / 475.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1237, allocations: 8.031 kB / 475.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.849e-05/0.1238, allocations: 78.72 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.1238, allocations: 44.38 kB / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1241, allocations: 247.7 kB / 476.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.1241, allocations: 29.38 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.1242, allocations: 35.94 kB / 476.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.1249, allocations: 0.5726 MB / 476.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1249, allocations: 7.938 kB / 476.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1249, allocations: 19.94 kB / 476.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1249, allocations: 12 kB / 476.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.1254, allocations: 329.1 kB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.1277, allocations: 4.055 MB / 481.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.128, allocations: 86.55 kB / 481.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1281, allocations: 44.89 kB / 481.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1282, allocations: 0 / 481.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1282, allocations: 34.5 kB / 481.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1282, allocations: 0 / 481.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005229/0.1287, allocations: 165.2 kB / 481.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.1288, allocations: 51.41 kB / 481.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.1292, allocations: 413.7 kB / 482.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1292, allocations: 29.69 kB / 482.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1293, allocations: 254.9 kB / 482.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1294, allocations: 31.64 kB / 482.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.1295, allocations: 65.94 kB / 482.4 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1296, allocations: 350.7 kB / 482.8 MB, free: 132 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1298, allocations: 56.61 kB / 482.8 MB, free: 76 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.1301, allocations: 258.4 kB / 483.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.1306, allocations: 351.8 kB / 483.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1306, allocations: 8 kB / 483.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006085/0.1312, allocations: 352.6 kB / 483.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1312, allocations: 8 kB / 483.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1312, allocations: 11.98 kB / 483.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1313, allocations: 8 kB / 483.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.1318, allocations: 112.5 kB / 483.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007171/0.1325, allocations: 1.219 MB / 485.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.1328, allocations: 71.27 kB / 485.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.1328, allocations: 20 kB / 485.2 MB, free: 13.42 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.0001505/0.133, allocations: 149.8 kB / 485.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.1331, allocations: 43.45 kB / 485.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.1335, allocations: 172.9 kB / 485.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1335, allocations: 3.984 kB / 485.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1335, allocations: 0 / 485.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1336, allocations: 0 / 485.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1339, allocations: 281.4 kB / 485.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1339, allocations: 3.984 kB / 485.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.1342, allocations: 47.98 kB / 485.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1342, allocations: 0 / 485.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1343, allocations: 7.984 kB / 485.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/0.1349, allocations: 1.211 MB / 487.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1349, allocations: 3.938 kB / 487.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1353, allocations: 239.6 kB / 487.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.1354, allocations: 104.6 kB / 487.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.1354, allocations: 11.92 kB / 487.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1356, allocations: 4 kB / 487.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.1357, allocations: 7.984 kB / 487.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1357, allocations: 4 kB / 487.5 MB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.136, allocations: 275.1 kB / 487.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.136, allocations: 4 kB / 487.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000577/0.1365, allocations: 108 kB / 487.9 MB, free: 10.62 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.0009093/0.1375, allocations: 0.8412 MB / 488.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.1381, allocations: 208.5 kB / 488.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1381, allocations: 0 / 488.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.1384, allocations: 75.95 kB / 489 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1389, allocations: 46.61 kB / 489 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.1429, allocations: 3.549 MB / 492.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1433, allocations: 0.7716 MB / 493.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.1435, allocations: 38.95 kB / 493.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1436, allocations: 103.4 kB / 493.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1436, allocations: 0 / 493.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.185, allocations: 9.632 MB / 0.4913 GB, free: 11.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.1852, allocations: 289.9 kB / 0.4916 GB, free: 10.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.449, allocations: 0 / 0.4916 GB, free: 10.93 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