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_KC.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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.001345/0.001345, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001349/0.001349, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.417/1.417, 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.2098/0.2098, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.83 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3831, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003227/0.3863, allocations: 2.17 MB / 0.5206 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3879, allocations: 1.065 MB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.388, allocations: 1.406 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.3884, allocations: 88.64 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3887, allocations: 90.03 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.389, allocations: 119.9 kB / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3892, allocations: 178 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.3893, allocations: 14.83 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3894, allocations: 77.14 kB / 0.5222 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3895, allocations: 84.16 kB / 0.5222 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3896, allocations: 5.625 kB / 0.5223 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.39, allocations: 267.8 kB / 0.5225 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.3901, allocations: 26.05 kB / 0.5225 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.3902, allocations: 83.23 kB / 0.5226 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.3906, allocations: 332.6 kB / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3907, allocations: 0 / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3907, allocations: 0 / 0.5229 GB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3907, allocations: 1.188 kB / 0.5229 GB, free: 384 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005917/0.3913, allocations: 0.4962 MB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3913, allocations: 14.02 kB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.3914, allocations: 54.89 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.3914, allocations: 29.28 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3917, allocations: 220.4 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3917, allocations: 13.56 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3917, allocations: 25 kB / 0.5238 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.3922, allocations: 229.3 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3922, allocations: 5.594 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3922, allocations: 5 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3922, allocations: 6.078 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.3927, allocations: 246.3 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3937, allocations: 0.6217 MB / 0.5248 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.394, allocations: 104 kB / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3942, allocations: 41.98 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.3942, allocations: 2.203 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3943, allocations: 40.25 kB / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3943, allocations: 0 / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005297/0.3948, allocations: 167.3 kB / 0.5252 GB, free: 14.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3949, allocations: 52.78 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.3951, allocations: 265.8 kB / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3952, allocations: 31.05 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3953, allocations: 169.1 kB / 0.5257 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.3953, allocations: 40.25 kB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.3954, allocations: 43.34 kB / 0.5257 GB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3956, allocations: 344.3 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3957, allocations: 50.69 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.396, allocations: 151.9 kB / 0.5263 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.3963, allocations: 208.8 kB / 0.5265 GB, free: 13.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3963, allocations: 1.094 kB / 0.5265 GB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000471/0.3968, allocations: 238.6 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3968, allocations: 5.656 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3969, allocations: 5.453 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3969, allocations: 4.719 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.3973, allocations: 89.44 kB / 0.5268 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006527/0.3979, allocations: 1.215 MB / 0.528 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3982, allocations: 46.97 kB / 0.528 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.3982, allocations: 10.52 kB / 0.528 GB, free: 12.34 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.3983, allocations: 137 kB / 0.5282 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.3984, allocations: 22.98 kB / 0.5282 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.3988, allocations: 168.3 kB / 0.5284 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3988, allocations: 0 / 0.5284 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3989, allocations: 1.375 kB / 0.5284 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3989, allocations: 0.75 kB / 0.5284 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.3995, allocations: 461.8 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3996, allocations: 1.375 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.3998, allocations: 55.41 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3998, allocations: 1.375 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3998, allocations: 7.547 kB / 0.5289 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006388/0.4005, allocations: 1.21 MB / 0.53 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4005, allocations: 2.172 kB / 0.53 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.4009, allocations: 257.3 kB / 0.5303 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.401, allocations: 95.84 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.401, allocations: 1.375 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4012, allocations: 12.11 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.4012, allocations: 9.547 kB / 0.5304 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4012, allocations: 3.188 kB / 0.5304 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.4014, allocations: 190.6 kB / 0.5306 GB, free: 10.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4015, allocations: 1.625 kB / 0.5306 GB, free: 10.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.4019, allocations: 69.78 kB / 0.5307 GB, free: 10.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008042/0.4027, allocations: 0.8273 MB / 0.5315 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.4033, allocations: 168.8 kB / 0.5316 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4033, allocations: 0 / 0.5316 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.4036, allocations: 87.39 kB / 0.5317 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.404, allocations: 31.55 kB / 0.5317 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.4072, allocations: 2.554 MB / 0.5342 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4075, allocations: 0.7377 MB / 0.5349 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.494e-05/0.4076, allocations: 19.77 kB / 0.535 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.4077, allocations: 66.38 kB / 0.535 GB, free: 6.344 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4077, allocations: 0 / 0.535 GB, free: 6.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.4316, allocations: 6.132 MB / 0.541 GB, free: 3.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.74, allocations: 13.89 kB / 0.541 GB, free: 3.383 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches