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.001501/0.001508, allocations: 104.5 kB / 16.27 MB, free: 5.93 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.001659/0.001659, allocations: 187.5 kB / 17.2 MB, free: 5.574 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.264/1.264, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1763/0.1763, allocations: 43.51 MB / 313.9 MB, free: 0.5312 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.001388/0.001388, allocations: 62.12 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07683, allocations: 57.78 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002503/0.07936, allocations: 2.108 MB / 442.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.08072, allocations: 1.414 MB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.08081, allocations: 4 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.08108, allocations: 91.42 kB / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.0812, allocations: 59.44 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.08162, allocations: 211 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.08175, allocations: 143 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.0818, allocations: 28.28 kB / 444.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.0819, allocations: 63.55 kB / 444.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.08198, allocations: 63.52 kB / 444.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.082, allocations: 4 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.08246, allocations: 427.4 kB / 445.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.08251, allocations: 23.8 kB / 445.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.08257, allocations: 71.48 kB / 445.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.08297, allocations: 430.5 kB / 445.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.08298, allocations: 3.984 kB / 445.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08299, allocations: 0 / 445.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.083, allocations: 0 / 445.7 MB, free: 1.637 MB / 318.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.0004498/0.08346, allocations: 0.4946 MB / 446.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.0835, allocations: 12.03 kB / 446.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.08354, allocations: 50.73 kB / 446.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.08358, allocations: 24.66 kB / 446.3 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.0837, allocations: 213.9 kB / 446.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.08372, allocations: 16.38 kB / 446.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.08375, allocations: 19.94 kB / 446.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.08404, allocations: 210.7 kB / 446.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.08406, allocations: 0 / 446.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.08408, allocations: 4 kB / 446.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.08409, allocations: 4 kB / 446.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.08434, allocations: 148.2 kB / 446.9 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.08505, allocations: 0.5636 MB / 447.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.08524, allocations: 70.48 kB / 447.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.08536, allocations: 32.94 kB / 447.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.0854, allocations: 4 kB / 447.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.08543, allocations: 30.56 kB / 447.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.08543, allocations: 0 / 447.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004437/0.08588, allocations: 137.3 kB / 447.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.08592, allocations: 55.34 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.08615, allocations: 258.7 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.08618, allocations: 25.7 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.08628, allocations: 163.7 kB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.0863, allocations: 27.64 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.08637, allocations: 33.72 kB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.08648, allocations: 338.8 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.08662, allocations: 35.97 kB / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.0868, allocations: 137.3 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.08711, allocations: 176.7 kB / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.08712, allocations: 0 / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00039/0.08751, allocations: 209.4 kB / 449.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.08754, allocations: 8.875 kB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.08757, allocations: 23.88 kB / 449.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.08759, allocations: 4 kB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.08772, allocations: 27.98 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.08773, allocations: 7.938 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.08787, allocations: 35.67 kB / 449.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.08789, allocations: 15.98 kB / 449.3 MB, free: 13.75 MB / 334.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.0001029/0.088, allocations: 141.8 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.08805, allocations: 19.72 kB / 449.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.08841, allocations: 138.9 kB / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.08843, allocations: 4 kB / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.08844, allocations: 0 / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.08844, allocations: 144 / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.08867, allocations: 217.5 kB / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.0887, allocations: 15.97 kB / 449.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.08877, allocations: 4 kB / 449.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.08877, allocations: 0 / 449.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.08879, allocations: 8 kB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.0888, allocations: 0 / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.0888, allocations: 3.984 kB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.08911, allocations: 211.1 kB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.08917, allocations: 92.83 kB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.0892, allocations: 3.984 kB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.08931, allocations: 4 kB / 450.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.08935, allocations: 7.984 kB / 450.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.08937, allocations: 12 kB / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.08952, allocations: 178 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08952, allocations: 0 / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.08989, allocations: 83.86 kB / 450.4 MB, free: 12.53 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 (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.0007154/0.09062, allocations: 0.798 MB / 451.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004132/0.09104, allocations: 167.2 kB / 451.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.09106, allocations: 4.812 kB / 451.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.09127, allocations: 107.3 kB / 451.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.09161, allocations: 20.88 kB / 451.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.09425, allocations: 2.394 MB / 453.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.09451, allocations: 0.732 MB / 454.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.004e-05/0.09458, allocations: 13.55 kB / 454.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.09465, allocations: 55.42 kB / 454.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09466, allocations: 4 kB / 454.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9571/1.052, allocations: 6.641 MB / 461.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.44, allocations: 19.97 kB / 461.4 MB, free: 1.414 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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