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.0006785/0.0006785, allocations: 97.33 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008678/0.0008678, allocations: 183.7 kB / 16.92 MB, free: 6.676 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.248/1.248, allocations: 205.4 MB / 223.1 MB, free: 5.793 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.2952/0.2952, allocations: 43.57 MB / 315 MB, free: 8.719 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.0005027/0.0005027, allocations: 12.56 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00234/0.1178, allocations: 1.817 MB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1197, allocations: 1.415 MB / 446.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.1197, allocations: 0 / 446.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.12, allocations: 83.56 kB / 446.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1202, allocations: 59.44 kB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1206, allocations: 175.3 kB / 447.1 MB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1208, allocations: 159 kB / 447.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.1209, allocations: 28.22 kB / 447.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1211, allocations: 51.67 kB / 447.3 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.1212, allocations: 71.52 kB / 447.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1212, allocations: 4 kB / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.1217, allocations: 431.3 kB / 447.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1218, allocations: 15.86 kB / 447.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.1219, allocations: 101.1 kB / 448 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.1224, allocations: 422.5 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1224, allocations: 0 / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1224, allocations: 0 / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1224, allocations: 4 kB / 448.4 MB, free: 7.73 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.0005506/0.1229, allocations: 474.7 kB / 448.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.123, allocations: 16.02 kB / 448.8 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.1231, allocations: 54.67 kB / 448.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1231, allocations: 24.66 kB / 448.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1233, allocations: 211.9 kB / 449.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1233, allocations: 16.38 kB / 449.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1234, allocations: 23.94 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1237, allocations: 210.7 kB / 449.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1237, allocations: 0 / 449.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1237, allocations: 4 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1238, allocations: 4 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.1241, allocations: 164.2 kB / 449.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.1248, allocations: 0.5714 MB / 450.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.125, allocations: 70.48 kB / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1251, allocations: 36.95 kB / 450.2 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1252, allocations: 0 / 450.2 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1252, allocations: 34.56 kB / 450.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1252, allocations: 0 / 450.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004653/0.1257, allocations: 153.3 kB / 450.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1257, allocations: 59.41 kB / 450.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.126, allocations: 254.7 kB / 450.7 MB, free: 5.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.126, allocations: 25.7 kB / 450.7 MB, free: 5.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1261, allocations: 163.7 kB / 450.9 MB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1261, allocations: 23.66 kB / 450.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1262, allocations: 25.64 kB / 450.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1263, allocations: 330.8 kB / 451.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1264, allocations: 47.97 kB / 451.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.1266, allocations: 132.8 kB / 451.4 MB, free: 4.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.127, allocations: 192.6 kB / 451.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.127, allocations: 0 / 451.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003857/0.1274, allocations: 209.1 kB / 451.8 MB, free: 3.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1274, allocations: 11.44 kB / 451.8 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/0.1274, allocations: 16.44 kB / 451.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1275, allocations: 8 kB / 451.9 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1276, allocations: 27.98 kB / 451.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1276, allocations: 7.938 kB / 451.9 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1278, allocations: 43.58 kB / 451.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1278, allocations: 8 kB / 452 MB, free: 3.82 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.0001129/0.1279, allocations: 137.7 kB / 452.1 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1279, allocations: 23.8 kB / 452.1 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.1283, allocations: 146.8 kB / 452.3 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.1283, allocations: 4 kB / 452.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1284, allocations: 0 / 452.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.1284, allocations: 0 / 452.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.1286, allocations: 225.7 kB / 452.5 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.1286, allocations: 12 kB / 452.5 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.1287, allocations: 8 kB / 452.5 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1287, allocations: 3.984 kB / 452.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1287, allocations: 4 kB / 452.5 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1287, allocations: 7.984 kB / 452.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1287, allocations: 4 kB / 452.5 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.129, allocations: 211.3 kB / 452.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.1291, allocations: 104.8 kB / 452.8 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1292, allocations: 4 kB / 452.8 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.1293, allocations: 4 kB / 452.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1293, allocations: 11.92 kB / 452.8 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1293, allocations: 4 kB / 452.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1295, allocations: 182 kB / 453 MB, free: 2.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1295, allocations: 0 / 453 MB, free: 2.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1298, allocations: 75.88 kB / 453.1 MB, free: 2.562 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.0007803/0.1306, allocations: 0.8252 MB / 453.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004255/0.1311, allocations: 176.1 kB / 454.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1311, allocations: 4 kB / 454.1 MB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1313, allocations: 115.4 kB / 454.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1316, allocations: 16.89 kB / 454.2 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1867/0.3184, allocations: 2.476 MB / 456.7 MB, free: 44.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.3186, allocations: 0.7286 MB / 457.4 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.672e-05/0.3187, allocations: 21.64 kB / 457.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.3188, allocations: 52.09 kB / 457.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3188, allocations: 0 / 457.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.3399, allocations: 6.287 MB / 463.8 MB, free: 43.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.3402, allocations: 273.7 kB / 464.1 MB, free: 43.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.238, allocations: 0 / 464.1 MB, free: 43.21 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