Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 176 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008174/0.0008173, allocations: 97.28 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3313/0.3313, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004063, allocations: 16 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 58.85 MB / 491 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002687/0.1185, allocations: 2.246 MB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.121, allocations: 1.661 MB / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1212, allocations: 0 / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1215, allocations: 87.48 kB / 494.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1218, allocations: 103 kB / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.1225, allocations: 275.1 kB / 495.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1228, allocations: 258.2 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.1228, allocations: 40.7 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1229, allocations: 83.47 kB / 495.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1231, allocations: 103.3 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1231, allocations: 8 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009997/0.1241, allocations: 0.7294 MB / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1242, allocations: 39.72 kB / 496.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1243, allocations: 148.8 kB / 496.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.1248, allocations: 470.4 kB / 497.2 MB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1248, allocations: 4 kB / 497.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1248, allocations: 0 / 497.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1248, allocations: 0 / 497.2 MB, free: 4.27 MB / 378.7 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.0007253/0.1256, allocations: 0.5849 MB / 497.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1256, allocations: 12.03 kB / 497.8 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/0.1257, allocations: 70.72 kB / 497.8 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.1258, allocations: 40.38 kB / 497.9 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.126, allocations: 255.4 kB / 498.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.126, allocations: 25.38 kB / 498.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1261, allocations: 35.94 kB / 498.2 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.1266, allocations: 374.4 kB / 498.6 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1267, allocations: 3.984 kB / 498.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1267, allocations: 12 kB / 498.6 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1267, allocations: 12 kB / 498.6 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.1271, allocations: 267.9 kB / 498.8 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1283, allocations: 0.8883 MB / 499.7 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1286, allocations: 94.53 kB / 499.8 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1287, allocations: 44.91 kB / 499.9 MB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.1287, allocations: 11.98 kB / 499.9 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1288, allocations: 30.56 kB / 499.9 MB, free: 1.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1288, allocations: 0 / 499.9 MB, free: 1.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005341/0.1293, allocations: 201.6 kB / 0.4884 GB, free: 1.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1294, allocations: 51.41 kB / 0.4884 GB, free: 1.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.1297, allocations: 405.7 kB / 0.4888 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1297, allocations: 29.64 kB / 0.4888 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1299, allocations: 243.1 kB / 0.4891 GB, free: 416 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1299, allocations: 35.53 kB / 0.4891 GB, free: 380 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.13, allocations: 12 kB / 0.4891 GB, free: 368 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1301, allocations: 354.7 kB / 0.4895 GB, free: 4 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1793/0.3094, allocations: 57.16 kB / 0.4895 GB, free: 42.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.3097, allocations: 246.9 kB / 0.4898 GB, free: 42.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.3101, allocations: 346.5 kB / 0.4901 GB, free: 42.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3101, allocations: 2.344 kB / 0.4901 GB, free: 42.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006939/0.3108, allocations: 357.8 kB / 0.4904 GB, free: 42.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3109, allocations: 11.27 kB / 0.4904 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.935e-05/0.3109, allocations: 26.81 kB / 0.4905 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.311, allocations: 9.125 kB / 0.4905 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.3112, allocations: 58.34 kB / 0.4905 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.3112, allocations: 15.38 kB / 0.4905 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3114, allocations: 63.31 kB / 0.4906 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3115, allocations: 24.75 kB / 0.4906 GB, free: 42.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.3116, allocations: 148.5 kB / 0.4908 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.3117, allocations: 40.88 kB / 0.4908 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.3122, allocations: 218.8 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3123, allocations: 2.188 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3123, allocations: 0 / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3123, allocations: 5.438 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.3126, allocations: 283.6 kB / 0.4913 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.3126, allocations: 22.39 kB / 0.4913 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.3127, allocations: 9.906 kB / 0.4913 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3127, allocations: 1.5 kB / 0.4913 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3127, allocations: 6.078 kB / 0.4913 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3127, allocations: 0 / 0.4913 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3127, allocations: 2.156 kB / 0.4913 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3131, allocations: 266.6 kB / 0.4916 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.3132, allocations: 107.8 kB / 0.4917 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.3132, allocations: 0.75 kB / 0.4917 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3134, allocations: 8.625 kB / 0.4917 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.3134, allocations: 8.188 kB / 0.4917 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3134, allocations: 13.88 kB / 0.4917 GB, free: 41.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.3137, allocations: 264.4 kB / 0.492 GB, free: 41.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 0 / 0.492 GB, free: 41.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005422/0.3143, allocations: 134 kB / 0.4921 GB, free: 41.72 MB / 378.7 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009088/0.3152, allocations: 0.8843 MB / 0.493 GB, free: 41.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005822/0.3158, allocations: 316.2 kB / 0.4933 GB, free: 40.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3158, allocations: 7.828 kB / 0.4933 GB, free: 40.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.3161, allocations: 188.5 kB / 0.4935 GB, free: 40.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3165, allocations: 43.84 kB / 0.4935 GB, free: 40.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3194, allocations: 2.048 MB / 0.4955 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3196, allocations: 0.7772 MB / 0.4963 GB, free: 39.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3198, allocations: 109.3 kB / 0.4964 GB, free: 39.08 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3198, allocations: 0 / 0.4964 GB, free: 39.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.486/3.805, allocations: 10.88 MB / 0.507 GB, free: 38.27 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/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_roundTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches