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_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001063/0.001063, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001259/0.001259, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.229/1.229, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.1886/0.1886, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 69.27 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1087, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004059/0.1128, allocations: 2.114 MB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1149, allocations: 1.367 MB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.115, allocations: 0 / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1153, allocations: 87.44 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1155, allocations: 63.42 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.1161, allocations: 211.1 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1162, allocations: 151 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.1163, allocations: 12.31 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.1165, allocations: 59.61 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1166, allocations: 67.58 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1166, allocations: 4 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.1173, allocations: 431.3 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.1173, allocations: 19.86 kB / 473.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.1174, allocations: 71.42 kB / 474 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.118, allocations: 430.5 kB / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1181, allocations: 0 / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1181, allocations: 0 / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1181, allocations: 3.938 kB / 474.4 MB, free: 9.152 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008093/0.1189, allocations: 0.5025 MB / 474.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.119, allocations: 8.031 kB / 474.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.119, allocations: 50.73 kB / 475 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.1191, allocations: 16.75 kB / 475 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1193, allocations: 215.6 kB / 475.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1193, allocations: 16.38 kB / 475.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1194, allocations: 19.94 kB / 475.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.1197, allocations: 202.5 kB / 475.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1198, allocations: 4 kB / 475.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1198, allocations: 8 kB / 475.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1198, allocations: 8 kB / 475.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.1201, allocations: 148.2 kB / 475.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.1209, allocations: 0.583 MB / 476.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1211, allocations: 62.55 kB / 476.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1213, allocations: 28.95 kB / 476.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1213, allocations: 0 / 476.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1213, allocations: 38.55 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.236e-06/0.1213, allocations: 3.984 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004449/0.1218, allocations: 137.3 kB / 476.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.1218, allocations: 51.41 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1221, allocations: 258.6 kB / 476.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1221, allocations: 33.64 kB / 476.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1222, allocations: 163.7 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1223, allocations: 15.75 kB / 477 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.1223, allocations: 41.61 kB / 477 MB, free: 6.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1225, allocations: 342.8 kB / 477.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1226, allocations: 35.97 kB / 477.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.1228, allocations: 124.9 kB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1232, allocations: 192.6 kB / 477.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1232, allocations: 0 / 477.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004105/0.1236, allocations: 197.3 kB / 477.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1236, allocations: 8 kB / 477.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.1237, allocations: 12 kB / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1237, allocations: 4 kB / 477.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1239, allocations: 35.91 kB / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1239, allocations: 4 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.124, allocations: 39.58 kB / 478 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.124, allocations: 8 kB / 478 MB, free: 5.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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 (17): * Single equations (assignments): 15 * 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.0001307/0.1242, allocations: 133.9 kB / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.1242, allocations: 19.81 kB / 478.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.1246, allocations: 142.7 kB / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1246, allocations: 0 / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1246, allocations: 192 / 478.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1246, allocations: 4 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1249, allocations: 225.5 kB / 478.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/0.1249, allocations: 12 kB / 478.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.125, allocations: 7.984 kB / 478.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.125, allocations: 7.938 kB / 478.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.125, allocations: 3.938 kB / 478.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.125, allocations: 0 / 478.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.125, allocations: 0 / 478.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1253, allocations: 211.2 kB / 478.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.1254, allocations: 92.83 kB / 478.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1254, allocations: 0 / 478.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1255, allocations: 7.984 kB / 478.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.1256, allocations: 4 kB / 478.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1256, allocations: 4 kB / 478.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1257, allocations: 186 kB / 479 MB, free: 4.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1258, allocations: 0 / 479 MB, free: 4.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.1262, allocations: 75.88 kB / 479.1 MB, free: 4.051 MB / 350.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.0007986/0.127, allocations: 0.8019 MB / 479.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.1274, allocations: 171.2 kB / 480.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1274, allocations: 0.875 kB / 480.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1276, allocations: 103.3 kB / 480.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.128, allocations: 24.88 kB / 480.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.1308, allocations: 2.383 MB / 482.6 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1312, allocations: 0.732 MB / 483.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.1312, allocations: 13.97 kB / 483.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.1313, allocations: 59.34 kB / 483.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1313, allocations: 4 kB / 483.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.1586, allocations: 6.649 MB / 490 MB, free: 9.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.75, allocations: 4.5 kB / 490.1 MB, free: 9.102 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches