Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001291/0.001291, allocations: 112.8 kB / 17.78 MB, free: 5.305 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.00123/0.00123, allocations: 184.1 kB / 18.71 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3258, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003155/0.3289, allocations: 2.126 MB / 0.5205 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3307, allocations: 1.37 MB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3308, allocations: 1.688 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.3312, allocations: 90.41 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.3314, allocations: 69.02 kB / 0.522 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.332, allocations: 205.8 kB / 0.5222 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3322, allocations: 149.5 kB / 0.5224 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.3323, allocations: 10.62 kB / 0.5224 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3324, allocations: 61.89 kB / 0.5224 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.986e-05/0.3325, allocations: 61.47 kB / 0.5225 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3325, allocations: 3.375 kB / 0.5225 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.3332, allocations: 428.4 kB / 0.5229 GB, free: 360 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.07e-05/0.3332, allocations: 26.09 kB / 0.5229 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.3333, allocations: 74.08 kB / 0.523 GB, free: 296 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.3339, allocations: 436.8 kB / 0.5234 GB, free: 96 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3339, allocations: 0 / 0.5234 GB, free: 96 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3339, allocations: 1.25 kB / 0.5234 GB, free: 96 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3339, allocations: 0 / 0.5234 GB, free: 96 kB / 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.0008001/0.3347, allocations: 0.4993 MB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3348, allocations: 10.31 kB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.3348, allocations: 57.39 kB / 0.524 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3349, allocations: 22.95 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3351, allocations: 210.6 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.3351, allocations: 10.88 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.3352, allocations: 28.31 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3355, allocations: 208.1 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3356, allocations: 0 / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3356, allocations: 6.469 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3356, allocations: 3.844 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.3359, allocations: 149.6 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.3368, allocations: 0.5845 MB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.337, allocations: 56.17 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3371, allocations: 34.36 kB / 0.5252 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.3372, allocations: 5.625 kB / 0.5252 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3372, allocations: 32.45 kB / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.3372, allocations: 0 / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004837/0.3377, allocations: 134.8 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3378, allocations: 52.16 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.338, allocations: 259.7 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.338, allocations: 27.7 kB / 0.5257 GB, free: 14.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3382, allocations: 164.2 kB / 0.5259 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.3382, allocations: 21.23 kB / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.3383, allocations: 35.45 kB / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3384, allocations: 335.9 kB / 0.5263 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3385, allocations: 41.08 kB / 0.5263 GB, free: 13.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3388, allocations: 132.7 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3391, allocations: 180.8 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3391, allocations: 0 / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004039/0.3395, allocations: 200.5 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3395, allocations: 7.672 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.3395, allocations: 15.8 kB / 0.5268 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3395, allocations: 5.938 kB / 0.5268 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3397, allocations: 35.09 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3397, allocations: 4.875 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3398, allocations: 42.2 kB / 0.5269 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3398, allocations: 10.28 kB / 0.5269 GB, free: 13.41 MB / 398.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.0001312/0.34, allocations: 131.2 kB / 0.527 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.34, allocations: 21.48 kB / 0.527 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.3404, allocations: 140.6 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3404, allocations: 1.375 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3404, allocations: 3.938 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3404, allocations: 0.6562 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.3407, allocations: 219.3 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.3407, allocations: 12.86 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.3408, allocations: 8.266 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3408, allocations: 0.5625 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3408, allocations: 6.75 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3408, allocations: 0 / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3408, allocations: 6.172 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.3411, allocations: 209 kB / 0.5276 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.3412, allocations: 102.8 kB / 0.5277 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3412, allocations: 2.031 kB / 0.5277 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3413, allocations: 6.188 kB / 0.5277 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3414, allocations: 4.109 kB / 0.5277 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3414, allocations: 7.531 kB / 0.5277 GB, free: 12.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.3415, allocations: 181.6 kB / 0.5279 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3415, allocations: 0 / 0.5279 GB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004138/0.3419, allocations: 79.61 kB / 0.528 GB, free: 12.57 MB / 398.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.000867/0.3428, allocations: 0.8077 MB / 0.5288 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004563/0.3433, allocations: 168.8 kB / 0.5289 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3433, allocations: 0 / 0.5289 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.3435, allocations: 97.88 kB / 0.529 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3439, allocations: 24.92 kB / 0.5291 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.3468, allocations: 2.386 MB / 0.5314 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3471, allocations: 0.7315 MB / 0.5321 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.3472, allocations: 21.02 kB / 0.5321 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.3473, allocations: 59.92 kB / 0.5322 GB, free: 8.91 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3473, allocations: 0 / 0.5322 GB, free: 8.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.3802, allocations: 6.781 MB / 0.5388 GB, free: 5.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.11, allocations: 9.328 kB / 0.5388 GB, free: 5.574 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches