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.00113/0.00113, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001254/0.001254, allocations: 185 kB / 18.72 MB, free: 4.332 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.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2033/0.2033, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3782, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002831/0.381, allocations: 2.11 MB / 0.5205 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3827, allocations: 1.373 MB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3828, allocations: 0 / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3832, allocations: 84.58 kB / 0.5219 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.3834, allocations: 69.83 kB / 0.522 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.3839, allocations: 212 kB / 0.5222 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3841, allocations: 146.8 kB / 0.5224 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.3842, allocations: 18.3 kB / 0.5224 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3843, allocations: 60.09 kB / 0.5224 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.3844, allocations: 62.19 kB / 0.5225 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3845, allocations: 8.531 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.3851, allocations: 427.2 kB / 0.5229 GB, free: 352 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.3852, allocations: 21.94 kB / 0.5229 GB, free: 340 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.3853, allocations: 74.12 kB / 0.523 GB, free: 292 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.3859, allocations: 435.7 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3859, allocations: 1.469 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3859, allocations: 0 / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3859, allocations: 0 / 0.5234 GB, free: 92 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.0006625/0.3866, allocations: 0.5 MB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3866, allocations: 13.66 kB / 0.5239 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.3867, allocations: 52.98 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3867, allocations: 31.31 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3869, allocations: 205.5 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.387, allocations: 12.14 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.387, allocations: 23.66 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.3874, allocations: 203.5 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3874, allocations: 2.297 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3874, allocations: 10.06 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3874, allocations: 7.688 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.3877, allocations: 140.4 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.3886, allocations: 0.5817 MB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3888, allocations: 62.06 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3889, allocations: 34.73 kB / 0.5252 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.389, allocations: 7.375 kB / 0.5252 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.389, allocations: 38.56 kB / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.389, allocations: 0 / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004668/0.3895, allocations: 134.1 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3895, allocations: 56.78 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.3898, allocations: 260 kB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3898, allocations: 25.7 kB / 0.5257 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.39, allocations: 161.1 kB / 0.5259 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.39, allocations: 20.91 kB / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.3901, allocations: 41.73 kB / 0.5259 GB, free: 14.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3902, allocations: 333.1 kB / 0.5263 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3904, allocations: 38.16 kB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.3906, allocations: 124 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.3909, allocations: 189.6 kB / 0.5266 GB, free: 13.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3909, allocations: 5.312 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003989/0.3913, allocations: 195 kB / 0.5268 GB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3913, allocations: 7.734 kB / 0.5268 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/0.3914, allocations: 16.83 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3914, allocations: 4.5 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3915, allocations: 31.2 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3916, allocations: 8.906 kB / 0.5269 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3917, allocations: 38.19 kB / 0.5269 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3917, allocations: 13.31 kB / 0.5269 GB, free: 13.4 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.0001253/0.3919, allocations: 129 kB / 0.527 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.3919, allocations: 20.8 kB / 0.527 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.3923, allocations: 136.5 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3923, allocations: 2.188 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3923, allocations: 1.359 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3923, allocations: 7.938 kB / 0.5272 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.3926, allocations: 222.9 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.3926, allocations: 8.359 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.3927, allocations: 7.547 kB / 0.5274 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3927, allocations: 9.969 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3927, allocations: 1.344 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3927, allocations: 1.312 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3927, allocations: 0.7031 kB / 0.5274 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.393, allocations: 213.1 kB / 0.5276 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.3931, allocations: 100 kB / 0.5277 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3931, allocations: 2.109 kB / 0.5277 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3933, allocations: 13.05 kB / 0.5277 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.3933, allocations: 4.891 kB / 0.5277 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3933, allocations: 3.531 kB / 0.5277 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.3935, allocations: 181.7 kB / 0.5279 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3935, allocations: 0 / 0.5279 GB, free: 12.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003888/0.3939, allocations: 79.55 kB / 0.528 GB, free: 12.56 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.000725/0.3946, allocations: 0.8048 MB / 0.5288 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.395, allocations: 167.2 kB / 0.5289 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3951, allocations: 0 / 0.5289 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.3952, allocations: 99.38 kB / 0.529 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3956, allocations: 33 kB / 0.5291 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.3983, allocations: 2.389 MB / 0.5314 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3985, allocations: 0.7243 MB / 0.5321 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.776e-05/0.3986, allocations: 17.36 kB / 0.5321 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.3987, allocations: 62.06 kB / 0.5322 GB, free: 8.891 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3987, allocations: 1.094 kB / 0.5322 GB, free: 8.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.4221, allocations: 6.766 MB / 0.5388 GB, free: 5.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 13.17 kB / 0.5388 GB, free: 5.566 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