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_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 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_flatTube,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.003638/0.003638, allocations: 101.1 kB / 15.87 MB, free: 6.309 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.0009365/0.0009365, allocations: 190.5 kB / 16.79 MB, free: 6.238 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.305/1.305, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.324/0.324, allocations: 43.49 MB / 313.5 MB, free: 8.539 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.001329/0.00133, allocations: 63.91 kB / 382.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 57.77 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003172/0.116, allocations: 2.183 MB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1177, allocations: 1.43 MB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.1178, allocations: 0 / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1181, allocations: 75.56 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1183, allocations: 55.5 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.1187, allocations: 179.3 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1189, allocations: 163 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.119, allocations: 20.28 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1191, allocations: 51.67 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.1192, allocations: 67.52 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1192, allocations: 4 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.1198, allocations: 435.3 kB / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.1198, allocations: 19.86 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.1199, allocations: 75.42 kB / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.1203, allocations: 430.5 kB / 445.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1204, allocations: 0 / 445.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1204, allocations: 0 / 445.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1204, allocations: 3.938 kB / 445.1 MB, free: 9.531 MB / 382.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.0005896/0.121, allocations: 498.6 kB / 445.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.121, allocations: 12.03 kB / 445.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.1211, allocations: 54.73 kB / 445.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1211, allocations: 32.58 kB / 445.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1213, allocations: 207.8 kB / 445.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1213, allocations: 12.38 kB / 445.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1214, allocations: 19.94 kB / 445.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.1217, allocations: 202.7 kB / 446.1 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1217, allocations: 4 kB / 446.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1218, allocations: 4 kB / 446.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1218, allocations: 7.984 kB / 446.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.122, allocations: 152.2 kB / 446.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.1228, allocations: 0.5675 MB / 446.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.123, allocations: 62.48 kB / 446.9 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1231, allocations: 36.89 kB / 446.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.1231, allocations: 7.984 kB / 446.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1232, allocations: 34.56 kB / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1232, allocations: 0 / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004137/0.1236, allocations: 133.5 kB / 447.1 MB, free: 7.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1236, allocations: 55.41 kB / 447.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1238, allocations: 258.6 kB / 447.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1239, allocations: 29.7 kB / 447.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.1239, allocations: 155.7 kB / 447.6 MB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.124, allocations: 27.64 kB / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.124, allocations: 41.7 kB / 447.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1241, allocations: 334.8 kB / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1243, allocations: 35.97 kB / 448 MB, free: 6.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1244, allocations: 128.9 kB / 448.2 MB, free: 6.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1247, allocations: 188.6 kB / 448.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1247, allocations: 4 kB / 448.3 MB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003558/0.1251, allocations: 201.1 kB / 448.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1251, allocations: 4.438 kB / 448.5 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.1251, allocations: 23.97 kB / 448.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1252, allocations: 4 kB / 448.6 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1253, allocations: 31.98 kB / 448.6 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1253, allocations: 7.938 kB / 448.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1254, allocations: 31.67 kB / 448.6 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1254, allocations: 12 kB / 448.7 MB, free: 5.645 MB / 382.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.0001068/0.1256, allocations: 133.7 kB / 448.8 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.1256, allocations: 19.72 kB / 448.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.1259, allocations: 134.9 kB / 448.9 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.126, allocations: 4 kB / 448.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.126, allocations: 0 / 448.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.126, allocations: 7.922 kB / 448.9 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1262, allocations: 225.5 kB / 449.2 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.1262, allocations: 8 kB / 449.2 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.1263, allocations: 7.984 kB / 449.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1263, allocations: 0 / 449.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1263, allocations: 4 kB / 449.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1263, allocations: 0 / 449.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1263, allocations: 7.938 kB / 449.2 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1266, allocations: 215.1 kB / 449.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.1266, allocations: 92.83 kB / 449.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1267, allocations: 0 / 449.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.1268, allocations: 7.984 kB / 449.5 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.1268, allocations: 8 kB / 449.5 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1268, allocations: 4 kB / 449.5 MB, free: 4.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.127, allocations: 178 kB / 449.7 MB, free: 4.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.127, allocations: 0 / 449.7 MB, free: 4.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003351/0.1273, allocations: 79.88 kB / 449.8 MB, free: 4.422 MB / 382.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.0006826/0.128, allocations: 0.8097 MB / 450.6 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1284, allocations: 172 kB / 450.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1284, allocations: 0 / 450.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1286, allocations: 99.41 kB / 450.8 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.129, allocations: 32.88 kB / 450.9 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.1314, allocations: 2.438 MB / 453.3 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1736/0.305, allocations: 0.722 MB / 454 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.605e-05/0.3052, allocations: 18.34 kB / 454 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.3053, allocations: 52.92 kB / 454.1 MB, free: 48.49 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3053, allocations: 3.188 kB / 454.1 MB, free: 48.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.322, allocations: 6.363 MB / 460.5 MB, free: 47.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.3222, allocations: 278.7 kB / 460.7 MB, free: 47.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.073, allocations: 3.938 kB / 460.7 MB, free: 47.54 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube/kc_flatTube.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches