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.001312/0.001312, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001345/0.001345, allocations: 192 kB / 18.56 MB, free: 4.434 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.411/1.411, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2055/0.2055, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.08 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09885, allocations: 60.83 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003917/0.1028, allocations: 2.668 MB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.105, allocations: 1.429 MB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1053, allocations: 0 / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.1056, allocations: 115.2 kB / 473.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.1061, allocations: 126.9 kB / 473.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.1067, allocations: 263.1 kB / 474 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1071, allocations: 274.2 kB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.482e-05/0.1071, allocations: 36.59 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1072, allocations: 95.34 kB / 474.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1074, allocations: 115.2 kB / 474.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1075, allocations: 8 kB / 474.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009117/0.1084, allocations: 0.589 MB / 475.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.1085, allocations: 47.59 kB / 475.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1086, allocations: 135 kB / 475.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006593/0.1092, allocations: 0.5254 MB / 475.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1093, allocations: 0 / 475.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1093, allocations: 0 / 475.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1093, allocations: 0 / 475.8 MB, free: 7.797 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.0008071/0.1101, allocations: 0.6201 MB / 476.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1101, allocations: 16.03 kB / 476.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.1102, allocations: 74.72 kB / 476.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.1103, allocations: 44.38 kB / 476.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1105, allocations: 239.7 kB / 476.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1106, allocations: 29.38 kB / 476.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.1106, allocations: 35.94 kB / 476.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.1113, allocations: 0.5774 MB / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1114, allocations: 7.938 kB / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1114, allocations: 20 kB / 477.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1114, allocations: 12 kB / 477.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.112, allocations: 329.1 kB / 477.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.1145, allocations: 4.043 MB / 481.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1148, allocations: 90.52 kB / 481.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1149, allocations: 48.89 kB / 481.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.115, allocations: 7.938 kB / 482 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.115, allocations: 34.56 kB / 482 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.115, allocations: 3.938 kB / 482 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004984/0.1155, allocations: 161.2 kB / 482.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1155, allocations: 59.41 kB / 482.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.1159, allocations: 409.7 kB / 482.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.116, allocations: 29.7 kB / 482.6 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1161, allocations: 250.9 kB / 482.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1162, allocations: 31.64 kB / 482.9 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.1163, allocations: 69.92 kB / 483 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1164, allocations: 350.7 kB / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1166, allocations: 60.61 kB / 483.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.1169, allocations: 258.4 kB / 483.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.1174, allocations: 351.9 kB / 484 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1174, allocations: 4 kB / 484 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006195/0.118, allocations: 352.5 kB / 484.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.118, allocations: 11.94 kB / 484.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1181, allocations: 4.906 kB / 484.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1181, allocations: 12 kB / 484.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.1185, allocations: 107.9 kB / 484.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006761/0.1192, allocations: 1.219 MB / 485.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.1195, allocations: 63.27 kB / 485.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.1196, allocations: 28.19 kB / 485.8 MB, free: 13.05 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.0001458/0.1197, allocations: 152.5 kB / 485.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.1198, allocations: 39.47 kB / 486 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.1202, allocations: 164.9 kB / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1203, allocations: 4 kB / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1203, allocations: 0 / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1203, allocations: 0 / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.1206, allocations: 277.4 kB / 486.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1206, allocations: 4 kB / 486.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.1209, allocations: 59.91 kB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.1209, allocations: 7.984 kB / 486.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1209, allocations: 4 kB / 486.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006749/0.1216, allocations: 1.195 MB / 487.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1216, allocations: 7.938 kB / 487.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.122, allocations: 243.1 kB / 487.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.1221, allocations: 108.6 kB / 488 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.1221, allocations: 3.938 kB / 488 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1223, allocations: 7.984 kB / 488 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1224, allocations: 8 kB / 488 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1224, allocations: 4 kB / 488 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.1227, allocations: 279.1 kB / 488.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1227, allocations: 0 / 488.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000539/0.1232, allocations: 112 kB / 488.4 MB, free: 10.25 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.0009242/0.1241, allocations: 0.8535 MB / 489.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.1248, allocations: 211.9 kB / 489.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1248, allocations: 1.625 kB / 489.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.1251, allocations: 75.95 kB / 489.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.1255, allocations: 45.55 kB / 489.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.1297, allocations: 3.467 MB / 493.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.13, allocations: 0.7716 MB / 493.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.1302, allocations: 42.89 kB / 493.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.1303, allocations: 107.3 kB / 494 MB, free: 4.363 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1303, allocations: 0 / 494 MB, free: 4.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1604, allocations: 9.76 MB / 0.4919 GB, free: 10.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.06, allocations: 18.81 kB / 0.492 GB, free: 10.81 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