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.001215/0.001215, allocations: 101.7 kB / 16.27 MB, free: 5.969 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.001367/0.001367, allocations: 187.8 kB / 17.19 MB, free: 5.605 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.309/1.309, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2136/0.2136, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001434/0.001435, allocations: 67.05 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.0924, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003226/0.09567, allocations: 2.676 MB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.09748, allocations: 1.45 MB / 444.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.09762, allocations: 11.94 kB / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.09802, allocations: 123.1 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.09836, allocations: 134.8 kB / 445 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.09881, allocations: 255 kB / 445.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.09901, allocations: 282.1 kB / 445.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.09908, allocations: 28.67 kB / 445.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.09917, allocations: 95.34 kB / 445.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.09931, allocations: 127.2 kB / 445.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.09934, allocations: 8 kB / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006916/0.1, allocations: 0.5812 MB / 446.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1001, allocations: 43.66 kB / 446.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1002, allocations: 139 kB / 446.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.1007, allocations: 0.5215 MB / 447.1 MB, free: 316 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1007, allocations: 0 / 447.1 MB, free: 316 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1008, allocations: 0 / 447.1 MB, free: 316 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1008, allocations: 0 / 447.1 MB, free: 316 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.0008631/0.1016, allocations: 0.6239 MB / 447.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1017, allocations: 12.03 kB / 447.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.281e-05/0.1018, allocations: 78.72 kB / 447.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.1018, allocations: 36.47 kB / 447.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1021, allocations: 255.1 kB / 448.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.1021, allocations: 25.38 kB / 448.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.1022, allocations: 39.94 kB / 448.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.1029, allocations: 0.5763 MB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1029, allocations: 7.938 kB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.103, allocations: 23.98 kB / 448.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.103, allocations: 12 kB / 448.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.1035, allocations: 333 kB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.1069, allocations: 4.047 MB / 453.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1072, allocations: 86.53 kB / 453.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1073, allocations: 44.95 kB / 453.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1074, allocations: 4 kB / 453.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1074, allocations: 30.56 kB / 453.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 3.226e-06/0.1074, allocations: 0 / 453.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005396/0.108, allocations: 169.1 kB / 453.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.108, allocations: 55.41 kB / 453.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.1084, allocations: 413.7 kB / 453.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1084, allocations: 29.7 kB / 454 MB, free: 8.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1086, allocations: 239.1 kB / 454.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1086, allocations: 31.64 kB / 454.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-05/0.1087, allocations: 69.83 kB / 454.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1089, allocations: 354.7 kB / 454.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1091, allocations: 56.61 kB / 454.7 MB, free: 8.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.1094, allocations: 266.3 kB / 454.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.1099, allocations: 355.8 kB / 455.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1099, allocations: 8 kB / 455.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006324/0.1105, allocations: 344.7 kB / 455.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1106, allocations: 13.19 kB / 455.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1106, allocations: 12 kB / 455.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.1106, allocations: 12.78 kB / 455.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.1111, allocations: 107.8 kB / 455.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000764/0.1119, allocations: 1.226 MB / 457 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.1122, allocations: 59.36 kB / 457.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.1122, allocations: 24 kB / 457.1 MB, free: 5.547 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.0001316/0.1124, allocations: 157.1 kB / 457.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.1124, allocations: 39.47 kB / 457.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.1129, allocations: 168.9 kB / 457.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1129, allocations: 4 kB / 457.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1129, allocations: 0 / 457.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1129, allocations: 0 / 457.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.1134, allocations: 281.4 kB / 457.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1134, allocations: 0 / 457.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.1137, allocations: 55.97 kB / 457.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1137, allocations: 0 / 457.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1137, allocations: 4 kB / 457.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1148, allocations: 1.203 MB / 459 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1148, allocations: 4.5 kB / 459 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1152, allocations: 243.1 kB / 459.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.1153, allocations: 108.6 kB / 459.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.1153, allocations: 3.938 kB / 459.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1155, allocations: 7.984 kB / 459.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.1156, allocations: 8 kB / 459.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1156, allocations: 7.984 kB / 459.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.1159, allocations: 271.2 kB / 459.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1159, allocations: 4 kB / 459.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006122/0.1165, allocations: 111.9 kB / 459.7 MB, free: 2.746 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.001197/0.1177, allocations: 0.8427 MB / 460.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007296/0.1185, allocations: 212.4 kB / 460.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1185, allocations: 7.938 kB / 460.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.1188, allocations: 77.14 kB / 460.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.1193, allocations: 45.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.004502/0.1238, allocations: 3.472 MB / 464.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1242, allocations: 0.7639 MB / 465.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1244, allocations: 38.95 kB / 465.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.1246, allocations: 99.41 kB / 465.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1246, allocations: 4 kB / 465.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.155, allocations: 9.758 MB / 475.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.25, allocations: 12.19 kB / 475.1 MB, free: 3.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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/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